Changeset 7018
- Timestamp:
- 22/10/10 18:59:56 (19 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 9 modified
-
DIST/Makefile (modified) (1 diff)
-
HELP_SOURCE/Makefile (modified) (9 diffs)
-
HELP_SOURCE/arb_help.dtd (modified) (1 diff)
-
HELP_SOURCE/arb_help2xml.cxx (modified) (4 diffs)
-
HELP_SOURCE/generate_index.pl (added)
-
HELP_SOURCE/oldhelp/islandhopping.hlp (modified) (1 diff)
-
HELP_SOURCE/oldhelp/primer.hlp (modified) (1 diff)
-
HELP_SOURCE/oldhelp/st_ml.hlp (modified) (2 diffs)
-
HELP_SOURCE/to_html.xsl (modified) (3 diffs)
-
util/arb_srclst.pl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DIST/Makefile
r6868 r7018 51 51 DI_clusters.o: $(ARBHOME)/INCLUDE/AP_filter.hxx 52 52 DI_clusters.o: $(ARBHOME)/INCLUDE/AP_seq_dna.hxx 53 DI_clusters.o: $(ARBHOME)/INCLUDE/AP_seq_ simple_pro.hxx53 DI_clusters.o: $(ARBHOME)/INCLUDE/AP_seq_protein.hxx 54 54 DI_clusters.o: $(ARBHOME)/INCLUDE/AP_sequence.hxx 55 55 DI_clusters.o: $(ARBHOME)/INCLUDE/arb_assert.h -
trunk/HELP_SOURCE/Makefile
r7016 r7018 14 14 HTML_LOCATION=../lib/help_html 15 15 HLP_DEST=../lib/help 16 HELP_INDEX_NAME = aaa_help_index 16 17 17 18 # needed tools: … … 37 38 @echo --------------------------------------------------- [xml 2 html] 38 39 time $(MAKE) html 39 $(MAKE) html_index40 40 41 41 $(HLP_DEST)/FORM.hlp: $(HLP_SOURCE)/FORM.hlp … … 67 67 68 68 # -------------------------------------------------------------------------------- 69 70 HELP_INDEX_XML = $(XML_LOCATION)/$(HELP_INDEX_NAME).xml 69 71 70 72 #OLD_HELP= oldhelp/importift.hlp … … 88 90 XML_TMP=$(OLD_HELP:%.hlp=%.xml) 89 91 XML_TMP2=$(XML_TMP:$(HLP_SOURCE)/%=$(XML_LOCATION)/%) 90 XML=$(XML_TMP2:$(HLP_GENERATED)/%=$(XML_LOCATION)/%) 92 XML=$(XML_TMP2:$(HLP_GENERATED)/%=$(XML_LOCATION)/%) 91 93 92 94 XML_DEPEND=xml.stamp# xml files are rebuild if this stamp is recreated 93 95 DTD=arb_help.dtd 94 96 97 # @@@ reactivate again: 95 98 $(XML) : $(XML_DEPEND) $(QUIETLY) 99 #$(XML) : $(QUIETLY) 96 100 97 101 #$(XML) : $(XML_DEPEND) Makefile $(QUIETLY) 98 102 99 xml : $(XML) 103 104 $(HELP_INDEX_XML): $(OLD_HELP_ALL) $(XML) ./generate_index.pl Makefile 105 ./generate_index.pl $(HELP_INDEX_NAME).xml $(XML_LOCATION) > $(HELP_INDEX_XML) 106 107 xml : $(XML) $(HELP_INDEX_XML) 100 108 101 109 dump: … … 107 115 echo $(HLP_GENERATED)/$(<F):1: other occurrence \ 108 116 && false ) 109 @ arb_help2xml$< $@117 @$(HELP2XML) $< $@ 110 118 @$(VALIDATE) $@ 111 119 … … 115 123 echo $(HLP_SOURCE)/$(<F):1: other occurrence \ 116 124 && false ) 117 @ arb_help2xml$< $@125 @$(HELP2XML) $< $@ 118 126 @$(VALIDATE) $@ 119 127 120 121 HTML_TMP=$(XML:%.xml=%.html) 122 HTML=$(HTML_TMP:$(XML_LOCATION)/%=$(HTML_LOCATION)/%) 128 $(HTML_LOCATION)/help_index.html : $(HELP_INDEX_XML) 129 130 HTML_TMP=$(XML:%.xml=%.html) 131 HTML=$(HTML_TMP:$(XML_LOCATION)/%=$(HTML_LOCATION)/%) 123 132 124 133 HELP_TMP=$(XML:%.xml=%.hlp) … … 194 203 # -------------------------------------------------------------------------------- 195 204 196 HTML_IDX = _index.html 197 198 html.list: $(HTML) 199 @find $(HTML_LOCATION) -name "*.html" >$@ 200 201 $(HTML_IDX) : html.list 202 @echo '<HTML><HEAD><TITLE>Arb-Help Index</TITLE></HEAD>' >$@ 203 @echo '<BODY>' >>$@ 204 @cat $< | sed -e 's/^\(.*\)$$/<A href="\1">\1<\/A> /' >>$@ 205 @echo '</BODY></HTML>' >>$@ 206 207 # -------------------------------------------------------------------------------- 208 209 html : $(HTML) google_logo 210 211 html_index : $(HTML_IDX) 212 213 # -------------------------------------------------------------------------------- 205 html : $(HTML) google_logo $(HTML_LOCATION)/$(HELP_INDEX_NAME).html 214 206 215 207 help : $(HELP) … … 218 210 219 211 clean: 220 rm -f $(TOOL_OBJECTS) $(BINARIES)221 rm -f $(HTML_IDX)`find $(HLP_DEST) -name "*.hlp"`222 rm -f html.list`find $(HTML_LOCATION) -name "*.html"`223 rm -f $(XML_DEPEND) dummy `find $(XML_LOCATION) -name "*.xml"`224 $(MAKE) -C $(HLP_GENERATED) clean212 rm -f $(TOOL_OBJECTS) $(BINARIES) 213 rm -f `find $(HLP_DEST) -name "*.hlp"` 214 rm -f `find $(HTML_LOCATION) -name "*.html"` 215 rm -f $(XML_DEPEND) dummy `find $(XML_LOCATION) -name "*.xml"` 216 $(MAKE) -C $(HLP_GENERATED) clean 225 217 226 218 # -------------------------------------------------------------------------------- … … 265 257 arb_help2xml.o: $(ARBHOME)/INCLUDE/dupstr.h 266 258 arb_help2xml.o: $(ARBHOME)/INCLUDE/test_global.h 259 arb_help2xml.o: $(ARBHOME)/INCLUDE/test_unit.h 267 260 arb_help2xml.o: $(ARBHOME)/INCLUDE/xml.hxx -
trunk/HELP_SOURCE/arb_help.dtd
r5775 r7018 53 53 <!ATTLIST LINK source_line CDATA #IMPLIED > <!--line no in source file--> 54 54 <!ATTLIST LINK missing (0|1) #IMPLIED > <!--set to 1 if destination is missing (used for internal links only)--> 55 <!ATTLIST LINK quoted (0|1) #IMPLIED > <!--set to 0 to avoid quoting of title--> -
trunk/HELP_SOURCE/arb_help2xml.cxx
r7017 r7018 261 261 Section title; 262 262 NamedSections sections; 263 string inputfile; 263 264 264 265 public: … … 426 427 427 428 void Helpfile::readHelp(istream& in, const string& filename) { 428 Reader read(in); 429 Reader read(in); 430 431 inputfile = filename; // remember file read (for comment) 432 429 433 const char *line; 430 434 const char *name_only = strrchr(filename.c_str(), '/'); … … 1173 1177 1174 1178 XML_Document xml("PAGE", "arb_help.dtd", out); 1179 1175 1180 xml.skip_empty_tags = true; 1176 1181 xml.indentation_per_level = 2; … … 1183 1188 #endif // DEBUG 1184 1189 1190 { 1191 XML_Comment(string("automatically generated from ../")+inputfile+' '); 1192 } 1193 1185 1194 create_top_links(uplinks, "UP"); 1186 1195 create_top_links(references, "SUB"); 1187 1196 create_top_links(auto_references, "SUB"); 1188 1197 1189 1198 { 1190 1199 XML_Tag title_tag("TITLE"); -
trunk/HELP_SOURCE/oldhelp/islandhopping.hlp
r2986 r7018 9 9 10 10 #************* Title of helpfile !! and start of real helpfile ******** 11 TITLE 'Island Hopper'11 TITLE Island Hopper 12 12 13 13 OCCURRENCE ARB_EDIT4/Edit/Integrated Aligners -
trunk/HELP_SOURCE/oldhelp/primer.hlp
r6141 r7018 11 11 TITLE Primer Design 12 12 13 @@@ sorry - need translation into english14 13 15 14 16 DESCRIPTION nur markierte Sequencen 15 DESCRIPTION 16 @@@ need translation into english 17 18 nur markierte Sequencen 17 19 Daten muessen aligned sein, 18 20 sucht alignmentabschnitte mit moeglichst wenig verschiedenen -
trunk/HELP_SOURCE/oldhelp/st_ml.hlp
r6141 r7018 10 10 11 11 TITLE Column Statistic (Prototype) 12 Detailed column statistic (see below)13 12 14 13 OCCURRENCE ARB EDITOR … … 39 38 The program can only be started once. 40 39 41 SECTION D ETAILED COLUMN STATISTIC40 SECTION Detailed column statistic 42 41 43 42 This special mode displays 4 rows below the sequence containing -
trunk/HELP_SOURCE/to_html.xsl
r6765 r7018 256 256 257 257 <xsl:template match="LINK" mode="link-recursion"> 258 <xsl:variable name="quoted"> 259 <xsl:choose> 260 <xsl:when test="@quoted='0'">0</xsl:when> 261 <xsl:otherwise>1</xsl:otherwise> 262 </xsl:choose> 263 </xsl:variable> 258 264 <xsl:choose> 259 265 <xsl:when test="@type='hlp' or @type='ps' or @type='pdf'"> … … 262 268 <xsl:with-param name="type" select="@type"/> 263 269 <xsl:with-param name="missing" select="@missing"/> 264 <xsl:with-param name="quote" select=" 1"/>270 <xsl:with-param name="quote" select="$quoted"/> 265 271 </xsl:call-template> 266 272 </xsl:when> … … 396 402 <TD valign="top" align="right"> 397 403 <FONT size="-1"> 398 More documentation can be foundon the404 <NOBR>More docs on the 399 405 <xsl:call-template name="insert-link"> 400 406 <xsl:with-param name="linktext" select="'ARB website'"/> 401 407 <xsl:with-param name="address" select="'http://rtfm.arb-home.de/'"/> 402 </xsl:call-template>.<BR/> 408 </xsl:call-template>.</NOBR><BR/> 409 See also <A href="{concat($rootpath,'aaa_help_index')}.html">index</A> of helppages.<BR/> 403 410 Last update on <xsl:value-of select="$date"/>. 404 411 </FONT> -
trunk/util/arb_srclst.pl
r6884 r7018 57 57 'ARB_GDEmenus', 58 58 'makeloc.here', 59 'helpfiles.lst',60 '_index.html',61 59 'nt_date.h', 62 60 'TAGS',
