Feature #855

RCP: x.x, Macro XSLEditionBuilder

Added by Alexey Lavrentev over 5 years ago. Updated 6 months ago.

Status:New Start date:05/22/2014
Priority:Normal Due date:
Assignee:- % Done:

50%

Category:Import Spent time: -
Target version:TXM 0.8.1

Description

Replace the default edition of a TXM corpus using XSL transformation:
https://groupes.renater.fr/wiki/txm-info/public/specs_production_editions_synoptiques

History

#1 Updated by Alexey Lavrentev over 5 years ago

  • % Done changed from 0 to 50

The parameters displayed in the form are:
xslEdition: default (should be txm-edition-xtz.xsl)
xslPages: default (should be txm-edition-page-split.xsl)
editionName : [empty] (should be default)

#2 Updated by Sebastien Jacquot almost 5 years ago

  • Target version changed from TXM 0.7.7 to TXM 0.7.8

#3 Updated by Alexey Lavrentev over 4 years ago

In the current version (2015-02-13), the "default" value in the fields must be deleted in order to use the default stylesheets, due to the following bug:

@Field @Option(name="xslEdition",usage="XSL to build the HTML edition - if empty uses 'txm-edition-xtz.xsl'", widget="File", required=false, def="default") def xslEdition @Field @Option(name="xslPages",usage="XSL to build the edition pages - if empty uses 'txm-edition-page-split.xsl'", widget="File", required=false, def="default") def xslPages

not comptatible with

if (xslEdition == null || xslEdition.getName() == "txm-edition-xtz.xsl") { xslEdition = new File(xslDirectory, "txm-edition-xtz.xsl")

Why not replace def="default" with def="txm-edition-xtz.xsl" for xslEdition and def="txm-edition-page-split.xsl" ?

#4 Updated by Matthieu Decorde about 4 years ago

  • Target version changed from TXM 0.7.8 to TXM 0.8.0a (split/restructuration)

#5 Updated by Sebastien Jacquot about 1 year ago

  • Target version changed from TXM 0.8.0a (split/restructuration) to TXM 0.8.0

#6 Updated by Matthieu Decorde 6 months ago

  • Target version changed from TXM 0.8.0 to TXM 0.8.1

Also available in: Atom PDF