Révision 1466

tmp/org.txm.groovy.core/src/groovy/org/txm/scripts/importer/xtz/XTZPager.groovy (revision 1466)
284 284
			def editionsCreated = [:]
285 285
			for (File xslFile : xslFiles) {
286 286
				if (xslFile.isDirectory() || xslFile.isHidden() || !xslFile.getName().endsWith(".xsl")) continue;
287
				if (!xslFile.getName().matches("[1-9]{1.3}-.+")) continue;
287
				if (!xslFile.getName().matches("[1-9]{1,3}-.+")) continue;
288 288

  
289 289
				String xslName = xslFile.getName().substring(2); // remove the "1-", "2-", etc.
290 290
				int idx2 = xslName.indexOf(".")
tmp/org.txm.annotation.kr.core/src/org/txm/annotation/kr/core/AnnotationManager.java (revision 1466)
282 282
		}
283 283
		dirty = true;
284 284
		tempManager.getEntityManager().getTransaction().commit(); // warning
285
		// test if there are CQP annotations for the 
286 285
		return allAnnotationsThatCollides;
287 286
	}
288 287

  
tmp/org.txm.core/res/org/txm/css/txm.css (revision 1466)
9 9
*/
10 10

  
11 11
.txmeditionpage {
12
	background-color: #f8f7ee;
13
	font-family: junicode, verdana;
12
	background-color: #fdfdf9; /* use #f8f7ee for book style */
13
	#font-family: junicode, verdana; /* book style */
14 14
	font-size: 14px;
15 15
	text-indent: none;
16 16
	text-align: justify;
17 17
	box-shadow: .3125em .3125em .625em 0 #888;
18 18
	margin: 1.25em auto;
19 19
	padding: 1.25em;
20
	width: 400px;
20
	width: 600px; /* use 400px for book style */
21 21
	min-height: 90%;
22 22
}
23 23

  
tmp/org.txm.rcp/src/main/java/org/txm/rcp/commands/workspace/UpdateCorpus.java (revision 1466)
38 38
		Project project = corpus.getProject();
39 39
		if (project == null)  return null;
40 40
		
41
		if (!"xtz".equals(project.getImportModuleName())) {
41
		if (!project.getImportModuleName().matches("xtz|txt|hyperbase|cnr|alceste|xml")) {
42 42
			System.out.println("Can't update a corpus not imported with the XTZ import module.");
43 43
			return null;
44 44
		}

Formats disponibles : Unified diff