Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
bssscribe_min [2024/04/01 19:15] – grammar morgothbssscribe_min [2024/04/01 19:23] (current) – formatting, clarification morgoth
Line 1: Line 1:
 ====== BSSScribe embedded version ====== ====== BSSScribe embedded version ======
-A minimalistic version of [[BSSScribe]] is available at http://blackspeech.ru/transcriber/t.php. It outputs only the result without user interface. Parameters should be added to address string after ''t.php?'' to adjust it.+A minimalistic version of [[BSSScribe]] is available at http://blackspeech.ru/transcriber/t.php. It outputs only the result without user interface. Parameters should be added to address string after ''t.php?'' to adjust it. Unlike the full version, default rules for selected mode are **not** applied automatically.
  
 ===== Parameters ===== ===== Parameters =====
 ^ Parameter ^ Default value ^ Values ^ Description ^ ^ Parameter ^ Default value ^ Values ^ Description ^
 | text | <empty> | | Text to be transcribed. Should be [[wp>Percent-encoding|encoded]]. | | text | <empty> | | Text to be transcribed. Should be [[wp>Percent-encoding|encoded]]. |
-| mode | ''mode00'' | 00 -- 5F | Tengwar / Cirth / Glagolitic mode \\ 1st digit is Tengwar mode: 0 -- vowels over the following consonant, 1 -- vowels over the preceding consonant, 2 -- full modes, 3 -- Cirth, 4 -- Glagolitic, 5 -- Sarati (not implemented); \\ 2nd digit is language: 0 -- Black Speech, 1 -- Quenya, 2 -- Sindarin, 4 -- English, 8 -- Cyrillic scripts (see ''cyr_lang'' parameter), F -- Valarin|+| mode | ''mode00'' | 00 -- 5F | Tengwar / Cirth / Glagolitic mode\\ \\ 1st digit is Tengwar mode:\\ 0 -- vowels over the following consonant,\\ 1 -- vowels over the preceding consonant,\\ 2 -- full modes,\\ 3 -- Cirth,\\ 4 -- Glagolitic,\\ 5 -- Sarati (not implemented); \\ \\ 2nd digit is language:\\ 0 -- Black Speech,\\ 1 -- Quenya,\\ 2 -- Sindarin,\\ 4 -- English,\\ 8 -- Cyrillic scripts (see ''cyr_lang'' parameter),\\ F -- Valarin|
 | ::: | ::: | mode00 -- mode5F | ::: | | ::: | ::: | mode00 -- mode5F | ::: |
-| font | ''Tengwar Artano'' | | Font name \\ Please note that all tengwar fonts' names should start from word "Tengwar" (e.g. "Elfic Caslin" should be written as "Tengwar Elfic Caslin"). Should be url-encoded (e.g. spaces become ''%20'' or ''+''). Check [[http://blackspeech.ru/transcriber/index.php|]] for all available font options. |+| font | ''Tengwar Artano'' | | Font namePlease note that all tengwar fonts' names should start from word "Tengwar" (e.g. "Elfic Caslin" should be written as "Tengwar Elfic Caslin"). Should be url-encoded (e.g. spaces become ''%20'' or ''+''). Check [[http://blackspeech.ru/transcriber/index.php|]] for all available font options. |
 | font_size | ''1.5em'' | | Font size according to [[https://developer.mozilla.org/en-US/docs/Web/CSS/length|CSS specification]]. Examples: ''14pt'', ''24px'', ''150%''. | | font_size | ''1.5em'' | | Font size according to [[https://developer.mozilla.org/en-US/docs/Web/CSS/length|CSS specification]]. Examples: ''14pt'', ''24px'', ''150%''. |
 | size | ::: | ::: | ::: | | size | ::: | ::: | ::: |
Line 18: Line 18:
 | s_hooks | ::: | ::: | ::: | | s_hooks | ::: | ::: | ::: |
 | auto_hooks | ::: | ::: | ::: | | auto_hooks | ::: | ::: | ::: |
-| nuquerna | 2 | 0 -- 2 | Rules on using ''silme nuquerna'':\\ 0 -- never, 1 -- only with o- and u- curls, 2 -- with all tehtar. Doesn't affect English modes. |+| nuquerna | 2 | 0 -- 2 | Rules on using ''silme nuquerna'':\\ 0 -- never,\\ 1 -- only with o- and u- curls,\\ 2 -- with all tehtar.\\ Doesn't affect English modes. |
 | use_altSZ | <empty> | | Any value except ''0'', ''false'', ''null'' and empty string allows transcriber to automatically decide between alternate glyphs of ''silme'' and ''esse'' depending on tehtar, mode and font. | | use_altSZ | <empty> | | Any value except ''0'', ''false'', ''null'' and empty string allows transcriber to automatically decide between alternate glyphs of ''silme'' and ''esse'' depending on tehtar, mode and font. |
 | alt_silme | ::: | ::: | ::: | | alt_silme | ::: | ::: | ::: |
Line 26: Line 26:
 | swap_ei | <empty> | | Any value except ''0'', ''false'', ''null'' and empty string swaps tehtar for ''e'' and ''i''. Currently works only with General Orthographic English mode. | | swap_ei | <empty> | | Any value except ''0'', ''false'', ''null'' and empty string swaps tehtar for ''e'' and ''i''. Currently works only with General Orthographic English mode. |
 | split_diphthongs | <empty> | | Any value except ''0'', ''false'', ''null'' and empty string makes diphthongs to be transcribed with tehtar over carrier. Otherwise special tengwar are used. Currently works only with General Orthographic English mode. |  | split_diphthongs | <empty> | | Any value except ''0'', ''false'', ''null'' and empty string makes diphthongs to be transcribed with tehtar over carrier. Otherwise special tengwar are used. Currently works only with General Orthographic English mode. | 
-| cyr_lang | 1 | 1 -- 7 | More specific language for Cyrillic mode:\\ 1 -- Old Church Slavonic, 2 -- Russian, 3 -- Belarussian, 4 -- Ukrainian, 5 -- Bulgarian, 6 -- Macedonian, 7 -- Serbian |+| cyr_lang | 1 | 1 -- 7 | More specific language for Cyrillic mode:\\ 1 -- Old Church Slavonic,\\ 2 -- Russian,\\ 3 -- Belarussian,\\ 4 -- Ukrainian,\\ 5 -- Bulgarian,\\ 6 -- Macedonian,\\ 7 -- Serbian|
 | use_cyr_rare | <empty> | | Used only for Cyrillic mode of Tengwar. Any value except ''0'', ''false'', ''null'' and empty string makes transcriber use rare tehtar glyphs with fonts that support it, otherwise nasalization signs are used. | | use_cyr_rare | <empty> | | Used only for Cyrillic mode of Tengwar. Any value except ''0'', ''false'', ''null'' and empty string makes transcriber use rare tehtar glyphs with fonts that support it, otherwise nasalization signs are used. |
-| j_option | 2 | 0 -- 2 | Allows to choose how phoneme /j/ is transcribed:\\ 0 -- always use ''anna'', 1 -- always use ''yanta'', 2 -- ''yanta'' initially (''y'' + vowel) and ''anna'' finally (vowel + ''i'' diphthongs).\\ Currently used only in Black Speech mode of Tengwar.  |+| j_option | 2 | 0 -- 2 | Allows to choose how phoneme /j/ is transcribed:\\ 0 -- always use ''anna'',\\ 1 -- always use ''yanta'',\\ 2 -- ''yanta'' initially (''y'' + vowel) and ''anna'' finally (vowel + ''i'' diphthongs).\\ Currently used only in Black Speech mode of Tengwar.  |
 | use_aspiration | <empty> | | Used only for Black Speech mode of Cirth. Any value except ''0'', ''false'', ''null'' and empty string makes transcriber to use aspiration diacritics instead of separate runes for digraphs like ''kh'' and ''gh''. | | use_aspiration | <empty> | | Used only for Black Speech mode of Cirth. Any value except ''0'', ''false'', ''null'' and empty string makes transcriber to use aspiration diacritics instead of separate runes for digraphs like ''kh'' and ''gh''. |
 | aspiration | ::: | ::: | ::: | | aspiration | ::: | ::: | ::: |
Line 34: Line 34:
 | diacritics | ::: | ::: | ::: | | diacritics | ::: | ::: | ::: |
 | simple_cirth | <empty> | | Used only for Black Speech and Sindarin modes of Cirth. Any value except ''0'', ''false'', ''null'' and empty string makes transcriber to use two runes instead of special ones for consonant clusters and diphthongs. | | simple_cirth | <empty> | | Used only for Black Speech and Sindarin modes of Cirth. Any value except ''0'', ''false'', ''null'' and empty string makes transcriber to use two runes instead of special ones for consonant clusters and diphthongs. |
-| output | html | html / text / jpeg / jpg / png / svg | Format of the result: ''html'' -- web page containing only the transcription and required styles including Tengwar fonts, the result is placed inside tag <code><div id="result_inscription" class="...">...</div></code>; ''jpeg'' or ''jpg'' -- the same as ''html'' but also saves the result as JPEG file (download prompt appears); ''png'' -- the same as ''html'' but also saves the result as PNG file; ''svg'' -- the same as ''html'' but also saves the result as SVG file; ''text'' -- the result is plain text file without any fonts and styles loaded, not recommended for fonts with 'alt' version (Annatar and Eldamar) as there is no way to say which chars should be formatted with alt font. |+| output | html | html / text / jpeg / jpg / png / svg | Format of the result:\\ ''html'' -- web page containing only the transcription and required styles including Tengwar fonts, the result is placed inside tag <code><div id="result_inscription" class="...">...</div></code>;\\ ''jpeg'' or ''jpg'' -- the same as ''html'' but also saves the result as JPEG file (download prompt appears);\\ ''png'' -- the same as ''html'' but also saves the result as PNG file;\\ ''svg'' -- the same as ''html'' but also saves the result as SVG file;\\ ''text'' -- the result is plain text file without any fonts and styles loaded, not recommended for fonts with 'alt' version (Annatar and Eldamar) as there is no way to say which chars should be formatted with alt font. |
  
 ===== Examples ===== ===== Examples =====
 This code <code>http://blackspeech.ru/transcriber/t.php?text=roses%20are%20red%2C%20violets%20are%20blue&mode=04&font=Tengwar%20Elfica&S_hooks=on&nuquerna=0&use_altSZ=on</code> transcribes the phrase "Roses are red, violets are blue" in English orthographic mode using "Tengwar Elfica" font, automatic s-hooks, forbids to use ''silme nuquerna'' but allows alternate ''silme'' glyphs for better looks of tehtar over regular ''silme''. [[http://blackspeech.ru/transcriber/t.php?text=roses%20are%20red%2C%20violets%20are%20blue&mode=04&font=Tengwar%20Elfica&S_hooks=on&nuquerna=0&use_altSZ=on|Result]]. This code <code>http://blackspeech.ru/transcriber/t.php?text=roses%20are%20red%2C%20violets%20are%20blue&mode=04&font=Tengwar%20Elfica&S_hooks=on&nuquerna=0&use_altSZ=on</code> transcribes the phrase "Roses are red, violets are blue" in English orthographic mode using "Tengwar Elfica" font, automatic s-hooks, forbids to use ''silme nuquerna'' but allows alternate ''silme'' glyphs for better looks of tehtar over regular ''silme''. [[http://blackspeech.ru/transcriber/t.php?text=roses%20are%20red%2C%20violets%20are%20blue&mode=04&font=Tengwar%20Elfica&S_hooks=on&nuquerna=0&use_altSZ=on|Result]].
bssscribe_min.txt · Last modified: 2024/04/01 19:23 by morgoth