/usr/share/bibledit-gtk/site/gtk/reference/menu/file/resource/tw-folio.html is in bibledit-gtk-data 4.9-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 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 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 | <!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>
<link href="../../../../../bibledit.css" rel="stylesheet" type="text/css" /><!--
Copyright (©) 2003-2011 Teus Benschop and Contributors to the Wiki.
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3
or any later version published by the Free Software Foundation;
with no Invariant Sections, no Front-Cover Texts, and no Back-Cover
Texts. A copy of the license is included in the section entitled "GNU
Free Documentation License" in the file FDL.
-->
<title></title>
</head>
<body>
<div id="menu">
<ul>
<li>
<a href="../../../../../home.html">1 Bibledit</a>
</li>
<li>
<a href="../resource.html">Resource</a>
</li>
<li style="list-style: none; display: inline">
<hr />
</li>
<li>
<a href="converter.html">Converter</a>
</li>
<li>
<a href="edit.html">Edit</a>
</li>
<li>
<a href="new-edit.html">New / Edit</a>
</li>
<li>
<a href="new.html">New</a>
</li>
<li>TW/folio
</li>
</ul>
</div>
<div id="content">
<h1>
TW/folio
</h1>
<h4>
<a name="TOC-Person-A:" href="" id="TOC-Person-A:"></a>Person A:
</h4>
<p>
Thanks for the resource exported from TW/folio.
</p>
<p>
Let's work together in order to see whether this resource can be made to browse in bibledit.
</p>
<p>
For bibledit to browse resources, it will work if every verse has one file.
</p>
<p>
In other cases, e.g. when the resource is one book per file, it needs what are called "anchors".
</p>
<p>
To start with, every resource that Bibledit uses should be in html format.
</p>
<p>
The resource that you have attached is in RTF format.
</p>
<p>
Would it be possible for you to save this RTF file into a .html file, and to look whether the anchors are there?
</p>
<p>
If these anchors are there, most likely browsing will work.
</p>
<p>
An anchor will look like this - example:
</p>
<pre>
<a name="1john.1.2"></a>
</pre>
<p>
Or more general:
</p>
<pre>
<a name="book.chapter.verse"></a>
</pre>
<p>
or
</p>
<pre>
<a name="chapter.verse"></a>
</pre>
<p>
Any of those types of anchors will do.
</p>
<p>
Lets' take it step by step, and you'll learn a lot from it how to create resources.
</p>
<p>
If you were to have the time to make the conversion to html and look whether anchors are there, then we take it from there.
</p>
<p>
Anchors can't normally be seen on web pages if the page is viewed in the browser.
</p>
<p>
But the anchors become visible when the html file is opened in a text editor.
</p>
<h4>
<a name="learner" href="" id="learner"></a>Person B:
</h4>
<p>
Thanks for this step-by-step procedure to learn how to create resources for BE.
</p>
<p>
I will answer this also by a stype-by-step discription, how I do this (could be helpful for BE/Help).
</p>
<p>
Here are the steps I took.
</p>
<p>
- Opened TRHB4_1JN.RTF (export of TW/folio) in Open Office Writer
</p>
<p>
- Saved it as HTML document (Open Office Writer)
</p>
<p>
- yes (for the warning that some formatting may be lost
</p>
<p>
- opened TRHB4_1JN.html with Firefox
</p>
<p>
- Firefox/View/Page Source: The Kompozer displays TRHB4_1JN.html
</p>
<p>
- Checking at 1 John 1.1a: There is a named anchor: TRHB 1JN 1.1 ( 1.1 1 John 1.1c)
</p>
<p>
- Kompozer/View/HTML source: Checking at 1 John 1.1a shows:
</p>
<pre>
<p>1John 1.1a</p>
</pre>
<pre>
<p><a name="TRHB 1JN 1.1"></a>1 John 1.1a</p>
</pre>
<p>
So the anchor is there. Even the resource name is there (which could be helpful for linking between resources if that is envisioned).
</p>
<h4>
<a name="teacher1" href="" id="teacher1"></a>Person A:
</h4>
<p>
Thanks for the work that you did on discovering the named anchors. Yes, it appears that the proper anchors are there, then.
</p>
<p>
The procedure for making a resource for this one will then be very similar to the one for creating the resource of last week.
</p>
<p>
Here's the anchor that you found:
</p>
<pre>
<a name="TRHB 1JN 1.1">
</pre>
<p>
It is supposed that each of the verses has such an anchor, with different chapter and verse number.
</p>
<p>
Homepage: Name of any file, or this file specifically.
</p>
<p>
URL constructor: TRHB4_<book>.html#TRHB <book> <chapter>.<verse>
</p>
<p>
Note the spaces in the above URL constructor, there are two of them.
</p>
<p>
The name to put for the book of 1 John is "1JN".
</p>
<h4>
<a name="learner1" href="" id="learner1"></a>Person B:
</h4>
<p>
- TranslHandbook: for TRHB4_1JN.html#TRHB 1JN 1.1.2 : URL constructor: TRHB4_<book>.html#TRHB <book> <chapter>.<verse>
</p>
<p>
- TransNoteDisplay: for TN2JND4.html#TND 2JN 1.1B : URL constructor: TN<book>D4.html#TND <book> <chapter>.<verse>
</p>
<p>
- TransNoteNotes: for TN2JNN4.html#TNN 2JN 1.1B : URL constructor: TN<book>N4.html#TNN <book> <chapter>.<verse>
</p>
<p>
This worked to import TH, TND and TNN into BE/Resource Browser
</p>
<p>
URL constructor (for BE resources import) for material from
</p>
<p>
- TW: (TH, TN) and
</p>
<p>
- other html resource (TH and CM)
</p>
<p>
Translator's Handbooks (TH):
</p>
<p>
- from TW: for TRHB4_XXX.html#TRHB XXX 1.1.2 : URL constructor: TRHB4_<book>.html#TRHB <book> <chapter>.<verse>,
</p>
<p>
-- with XXX or <book> = JAARS/UBS code (GEN ... REV): encoding problems: non-UTF8 with Greek/Hebrew (transliteration) fonts, e.g. GEN, MRK
</p>
<p>
- other html resource: URL constructor: ubshbk<book>.html#bible.<book>.<chapter>.<verse>
</p>
<p>
-- with XXX or <book> = numbering system (1,2 ..., 87), e.g. COL=72, 1TI=75, 2TI=76, TIT=77, 2PE=86,
</p>
<p>
Translator's Notes (TN):
</p>
<p>
all from TW (encoding is no problem, as there is only English text used = UTF8)
</p>
<p>
- Display (TND): for TNXXXD4.html#TND XXX 1.1B : URL constructor: TN<book>D4.html#TND <book> <chapter>.<verse>
</p>
<p>
- Notes (TNN): for TNXXXN4.html#TNN XXX 1.1B : URL constructor: TN<book>N4.html#TNN <book> <chapter>.<verse>
</p>
<p>
-- with XXX or <book> = JAARS/UBS code (GEN ... REV) , e.g.: COL, 1TI, 2TI, TIT, 2PE,
</p>
<p>
Commentaries (CM) which are not TH and TN:
</p>
<p>
- other html resource: URL constructor: ubshbk<book>.html#bible.<book>.<chapter>.<verse>
</p>
<p>
-- with XXX or <book> = numbering system (1,2 ..., 87), e.g. COL=72, 1TI=75, 2TI=76, TIT=77, 2PE=86,
</p>
</div>
</body>
</html>
|