├── README.md ├── config.codekit ├── config.rb ├── css ├── demo_layout.css ├── fontface.css ├── html5bp_normalize.css ├── ie.css ├── print.css ├── rwt_scaffold.css └── styles.css ├── fonts └── FiraSans │ ├── FiraSans-Bold.eot │ ├── FiraSans-Bold.woff │ ├── FiraSans-BoldItalic.eot │ ├── FiraSans-BoldItalic.woff │ ├── FiraSans-Light.eot │ ├── FiraSans-Light.woff │ ├── FiraSans-LightItalic.eot │ ├── FiraSans-LightItalic.woff │ ├── FiraSans-Medium.eot │ ├── FiraSans-Medium.woff │ ├── FiraSans-MediumItalic.eot │ ├── FiraSans-MediumItalic.woff │ ├── FiraSans-Regular.eot │ ├── FiraSans-Regular.woff │ ├── FiraSans-RegularItalic.eot │ └── FiraSans-RegularItalic.woff ├── htc └── boxsizing.htc ├── index.html ├── index.php ├── js ├── dd_belatedpng.js ├── demo_script-ck.js ├── demo_script.js ├── jquery-1.11.0.min.js ├── min │ ├── demo_script-min.js │ └── script-min.js ├── modernizr.custom.52216.js ├── respond.min.js ├── script-ck.js ├── script.js ├── widowtamer │ ├── LICENSE.txt │ ├── README │ ├── widowtamer-min.js │ └── widowtamer.js └── wt-script.js ├── php-typography ├── change_log-php.txt ├── diacritics │ └── en-US.php ├── lang │ ├── bg.php │ ├── ca.php │ ├── cs.php │ ├── cy.php │ ├── da.php │ ├── de.php │ ├── el-Mono.php │ ├── el-Poly.php │ ├── en-GB.php │ ├── en-US.php │ ├── es.php │ ├── et.php │ ├── eu.php │ ├── fi.php │ ├── fr.php │ ├── ga.php │ ├── gl.php │ ├── grc.php │ ├── hr.php │ ├── hu.php │ ├── ia.php │ ├── id.php │ ├── is.php │ ├── it.php │ ├── la.php │ ├── lt.php │ ├── mn-Cyrl.php │ ├── no.php │ ├── pl.php │ ├── pt.php │ ├── ro.php │ ├── ru.php │ ├── sa.php │ ├── sh-Cyrl.php │ ├── sh-Latn.php │ ├── sk.php │ ├── sl.php │ ├── sr-Cyrl.php │ ├── sv.php │ ├── tr.php │ ├── uk.php │ └── zh-Latn.php ├── lang_unformatted │ ├── hyph-la.tex │ ├── hyph-no.tex │ └── template.txt ├── php-parser │ ├── change_log_parser.txt │ ├── parseHTML.php │ ├── parseText.php │ └── php-parser.php └── php-typography.php └── sass ├── .DS_Store ├── _base.scss ├── _normalize.scss ├── _rwt_base.scss ├── _rwt_nicelink.scss ├── _rwt_otfeatures.scss ├── _rwt_scaffold.scss ├── demo_layout.scss ├── fontface.scss ├── ie.scss ├── print.scss └── styles.scss /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/README.md -------------------------------------------------------------------------------- /config.rb: -------------------------------------------------------------------------------- 1 | # Require any additional compass plugins here. 2 | 3 | # Set this to the root of your project when deployed: 4 | http_path = "/" 5 | css_dir = "css" 6 | sass_dir = "sass" 7 | images_dir = "images" 8 | javascripts_dir = "js" 9 | fonts_dir = "fonts" 10 | 11 | output_style = :nested 12 | 13 | # To enable relative paths to assets via compass helper functions. Uncomment: 14 | # relative_assets = true 15 | 16 | # To disable debugging comments that display the original location of your selectors. Uncomment: 17 | # line_comments = false 18 | color_output = false 19 | 20 | 21 | # If you prefer the indented syntax, you might want to regenerate this 22 | # project again passing --syntax sass, or you can uncomment this: 23 | # preferred_syntax = :sass 24 | # and then run: 25 | # sass-convert -R --from scss --to sass sass scss && rm -rf sass && mv scss sass 26 | preferred_syntax = :scss 27 | -------------------------------------------------------------------------------- /css/demo_layout.css: -------------------------------------------------------------------------------- 1 | /* Set theme variables here */ 2 | /* 400px */ 3 | /* 700px */ 4 | /* 900px */ 5 | /* 1300px */ 6 | /* Page furniture */ 7 | .page { 8 | width: 100%; 9 | /* this is somewhat arbitrary - just a value that is close to full width but leaves a bit of margin */ 10 | margin: 0 auto; 11 | /* make sure the page area stays centered */ } 12 | .page > header { 13 | padding: 0 0.75em; } 14 | .page > .main { 15 | padding: 0 0.75em; } 16 | .page > footer { 17 | padding: 0 0.75em; } 18 | 19 | @media (min-width: 25em) { 20 | .page { 21 | width: 96%; 22 | max-width: 38em; 23 | margin: 0 auto; 24 | /* make sure the page area stays centered */ } 25 | .page > header { 26 | padding: 0 0.75em; } 27 | .page > .main { 28 | padding: 0 0.75em; } 29 | .page > footer { 30 | padding: 0 0.75em; } } 31 | @media (min-width: 43.75em) { 32 | .page { 33 | width: 94%; 34 | max-width: 40em; 35 | margin: 0 auto; 36 | /* make sure the page area stays centered */ } 37 | .page > header { 38 | padding: 0 0.75em; } 39 | .page > .main { 40 | padding: 0 0.75em; } 41 | .page > footer { 42 | padding: 0 0.75em; } } 43 | @media (min-width: 56.25em) { 44 | .page { 45 | width: 90%; 46 | max-width: 45em; 47 | margin: 0 auto; 48 | /* make sure the page area stays centered */ } 49 | .page > header { 50 | padding: 0 1.5em; } 51 | .page > .main { 52 | padding: 0 1.5em; } 53 | .page > footer { 54 | padding: 0 1.5em; } } 55 | @media (min-width: 81.25em) { 56 | .page { 57 | width: 80%; 58 | max-width: 60em; } 59 | .page > header { 60 | padding: 0 1.5em; } 61 | .page > .main { 62 | padding: 0 1.5em; } 63 | .page > footer { 64 | padding: 0 1.5em; } } 65 | -------------------------------------------------------------------------------- /css/fontface.css: -------------------------------------------------------------------------------- 1 | /* @font-face entries for the Fira Sans webfonts */ 2 | /* 'grouped' by family name and assigned to bold/italic styles */ 3 | @font-face { 4 | font-family: "Fira Sans"; 5 | src: url("../fonts/FiraSans/FiraSans-Light.eot"); 6 | src: url("../fonts/FiraSans/FiraSans-Light.eot?#iefix") format("eot"), url("../fonts/FiraSans/FiraSans-Light.woff") format("woff"); 7 | font-weight: 200; 8 | font-style: normal; } 9 | 10 | @font-face { 11 | font-family: "Fira Sans"; 12 | src: url("../fonts/FiraSans/FiraSans-LightItalic.eot"); 13 | src: url("../fonts/FiraSans/FiraSans-LightItalic.eot?#iefix") format("eot"), url("../fonts/FiraSans/FiraSans-LightItalic.woff") format("woff"); 14 | font-weight: 200; 15 | font-style: italic; } 16 | 17 | @font-face { 18 | font-family: "Fira Sans"; 19 | src: url("../fonts/FiraSans/FiraSans-Regular.eot"); 20 | src: url("../fonts/FiraSans/FiraSans-Regular.eot?#iefix") format("eot"), url("../fonts/FiraSans/FiraSans-Regular.woff") format("woff"); 21 | font-weight: normal; 22 | font-style: normal; } 23 | 24 | @font-face { 25 | font-family: "Fira Sans"; 26 | src: url("../fonts/FiraSans/FiraSans-RegularItalic.eot"); 27 | src: url("../fonts/FiraSans/FiraSans-RegularItalic.eot?#iefix") format("eot"), url("../fonts/FiraSans/FiraSans-RegularItalic.woff") format("woff"); 28 | font-weight: normal; 29 | font-style: italic; } 30 | 31 | @font-face { 32 | font-family: "Fira Sans"; 33 | src: url("../fonts/FiraSans/FiraSans-Medium.eot"); 34 | src: url("../fonts/FiraSans/FiraSans-Medium.eot?#iefix") format("eot"), url("../fonts/FiraSans/FiraSans-Medium.woff") format("woff"); 35 | font-weight: 500; 36 | font-style: normal; } 37 | 38 | @font-face { 39 | font-family: "Fira Sans"; 40 | src: url("../fonts/FiraSans/FiraSans-MediumItalic.eot"); 41 | src: url("../fonts/FiraSans/FiraSans-MediumItalic.eot?#iefix") format("eot"), url("../fonts/FiraSans/FiraSans-MediumItalic.woff") format("woff"); 42 | font-weight: 500; 43 | font-style: italic; } 44 | 45 | @font-face { 46 | font-family: "Fira Sans"; 47 | src: url("../fonts/FiraSans/FiraSans-Bold.eot"); 48 | src: url("../fonts/FiraSans/FiraSans-Bold.eot?#iefix") format("eot"), url("../fonts/FiraSans/FiraSans-Bold.woff") format("woff"); 49 | font-weight: bold; 50 | font-style: normal; } 51 | 52 | @font-face { 53 | font-family: "Fira Sans"; 54 | src: url("../fonts/FiraSans/FiraSans-BoldItalic.eot"); 55 | src: url("../fonts/FiraSans/FiraSans-BoldItalic.eot?#iefix") format("eot"), url("../fonts/FiraSans/FiraSans-BoldItalic.woff") format("woff"); 56 | font-weight: bold; 57 | font-style: italic; } 58 | -------------------------------------------------------------------------------- /css/html5bp_normalize.css: -------------------------------------------------------------------------------- 1 | /*! normalize.css v1.0.1 | MIT License | git.io/normalize */ 2 | /* ========================================================================== 3 | HTML5 display definitions 4 | ========================================================================== */ 5 | /* 6 | * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3. 7 | */ 8 | /* line 21, ../sass/html5bp_normalize.scss */ 9 | article, 10 | aside, 11 | details, 12 | figcaption, 13 | figure, 14 | footer, 15 | header, 16 | hgroup, 17 | nav, 18 | section, 19 | summary { 20 | display: block; } 21 | 22 | /* 23 | * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. 24 | */ 25 | /* line 31, ../sass/html5bp_normalize.scss */ 26 | audio, 27 | canvas, 28 | video { 29 | display: inline-block; 30 | *display: inline; 31 | *zoom: 1; } 32 | 33 | /* ========================================================================== 34 | Base 35 | ========================================================================== */ 36 | /* 37 | * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using 38 | * `em` units. 39 | * 2. Prevents iOS text size adjust after orientation change, without disabling 40 | * user zoom. 41 | */ 42 | /* line 48, ../sass/html5bp_normalize.scss */ 43 | html { 44 | font-size: 100%; 45 | /* 1 */ 46 | -webkit-text-size-adjust: 100%; 47 | /* 2 */ 48 | -ms-text-size-adjust: 100%; 49 | /* 2 */ } 50 | 51 | /* 52 | * Addresses `font-family` inconsistency between `textarea` and other form 53 | * elements. 54 | */ 55 | /* line 63, ../sass/html5bp_normalize.scss */ 56 | html, 57 | button, 58 | input, 59 | select, 60 | textarea { 61 | font-family: sans-serif; } 62 | 63 | /* 64 | * Addresses margins handled incorrectly in IE 6/7. 65 | */ 66 | /* line 71, ../sass/html5bp_normalize.scss */ 67 | body { 68 | margin: 0; } 69 | 70 | /* ========================================================================== 71 | Typography 72 | ========================================================================== */ 73 | /* 74 | * Addresses font sizes and margins set differently in IE 6/7. 75 | * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5, 76 | * and Chrome. 77 | */ 78 | /* line 85, ../sass/html5bp_normalize.scss */ 79 | h1 { 80 | font-size: 2em; 81 | margin: 0.67em 0; } 82 | 83 | /* line 90, ../sass/html5bp_normalize.scss */ 84 | h2 { 85 | font-size: 1.5em; 86 | margin: 0.83em 0; } 87 | 88 | /* line 95, ../sass/html5bp_normalize.scss */ 89 | h3 { 90 | font-size: 1.17em; 91 | margin: 1em 0; } 92 | 93 | /* line 100, ../sass/html5bp_normalize.scss */ 94 | h4 { 95 | font-size: 1em; 96 | margin: 1.33em 0; } 97 | 98 | /* line 105, ../sass/html5bp_normalize.scss */ 99 | h5 { 100 | font-size: 0.83em; 101 | margin: 1.67em 0; } 102 | 103 | /* line 110, ../sass/html5bp_normalize.scss */ 104 | h6 { 105 | font-size: 0.75em; 106 | margin: 2.33em 0; } 107 | 108 | /* 109 | * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome. 110 | */ 111 | /* line 119, ../sass/html5bp_normalize.scss */ 112 | abbr[title] { 113 | border-bottom: 1px dotted; } 114 | 115 | /* 116 | * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. 117 | */ 118 | /* line 128, ../sass/html5bp_normalize.scss */ 119 | b, 120 | strong { 121 | font-weight: bold; } 122 | 123 | /* line 132, ../sass/html5bp_normalize.scss */ 124 | blockquote { 125 | margin: 1em 40px; } 126 | 127 | /* 128 | * Addresses styling not present in Safari 5 and Chrome. 129 | */ 130 | /* line 140, ../sass/html5bp_normalize.scss */ 131 | dfn { 132 | font-style: italic; } 133 | 134 | /* 135 | * Addresses styling not present in IE 6/7/8/9. 136 | */ 137 | /* line 148, ../sass/html5bp_normalize.scss */ 138 | mark { 139 | background: #ff0; 140 | color: #000; } 141 | 142 | /* 143 | * Addresses margins set differently in IE 6/7. 144 | */ 145 | /* line 158, ../sass/html5bp_normalize.scss */ 146 | p, 147 | pre { 148 | margin: 1em 0; } 149 | 150 | /* 151 | * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome. 152 | */ 153 | /* line 169, ../sass/html5bp_normalize.scss */ 154 | code, 155 | kbd, 156 | pre, 157 | samp { 158 | font-family: monospace, serif; 159 | _font-family: 'courier new', monospace; 160 | font-size: 1em; } 161 | 162 | /* 163 | * Improves readability of pre-formatted text in all browsers. 164 | */ 165 | /* line 179, ../sass/html5bp_normalize.scss */ 166 | pre { 167 | white-space: pre; 168 | white-space: pre-wrap; 169 | word-wrap: break-word; } 170 | 171 | /* 172 | * Addresses CSS quotes not supported in IE 6/7. 173 | */ 174 | /* line 189, ../sass/html5bp_normalize.scss */ 175 | q { 176 | quotes: none; } 177 | 178 | /* 179 | * Addresses `quotes` property not supported in Safari 4. 180 | */ 181 | /* line 198, ../sass/html5bp_normalize.scss */ 182 | q:before, 183 | q:after { 184 | content: ''; 185 | content: none; } 186 | 187 | /* 188 | * Addresses inconsistent and variable font size in all browsers. 189 | */ 190 | /* line 207, ../sass/html5bp_normalize.scss */ 191 | small { 192 | font-size: 80%; } 193 | 194 | /* 195 | * Prevents `sub` and `sup` affecting `line-height` in all browsers. 196 | */ 197 | /* line 216, ../sass/html5bp_normalize.scss */ 198 | sub, 199 | sup { 200 | font-size: 75%; 201 | line-height: 0; 202 | position: relative; 203 | vertical-align: baseline; } 204 | 205 | /* line 223, ../sass/html5bp_normalize.scss */ 206 | sup { 207 | top: -0.5em; } 208 | 209 | /* line 227, ../sass/html5bp_normalize.scss */ 210 | sub { 211 | bottom: -0.25em; } 212 | 213 | /* ========================================================================== 214 | Lists 215 | ========================================================================== */ 216 | /* 217 | * Addresses margins set differently in IE 6/7. 218 | */ 219 | /* line 242, ../sass/html5bp_normalize.scss */ 220 | dl, 221 | menu, 222 | ol, 223 | ul { 224 | margin: 1em 0; } 225 | 226 | /* line 246, ../sass/html5bp_normalize.scss */ 227 | dd { 228 | margin: 0 0 0 40px; } 229 | 230 | /* 231 | * Addresses paddings set differently in IE 6/7. 232 | */ 233 | /* line 256, ../sass/html5bp_normalize.scss */ 234 | menu, 235 | ol, 236 | ul { 237 | padding: 0 0 0 40px; } 238 | 239 | /* 240 | * Corrects list images handled incorrectly in IE 7. 241 | */ 242 | /* line 265, ../sass/html5bp_normalize.scss */ 243 | nav ul, 244 | nav ol { 245 | list-style: none; 246 | list-style-image: none; } 247 | 248 | /* ========================================================================== 249 | Embedded content 250 | ========================================================================== */ 251 | /* 252 | * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3. 253 | * 2. Improves image quality when scaled in IE 7. 254 | */ 255 | /* line 279, ../sass/html5bp_normalize.scss */ 256 | img { 257 | border: 0; 258 | /* 1 */ 259 | -ms-interpolation-mode: bicubic; 260 | /* 2 */ } 261 | 262 | /* 263 | * Corrects overflow displayed oddly in IE 9. 264 | */ 265 | /* line 288, ../sass/html5bp_normalize.scss */ 266 | svg:not(:root) { 267 | overflow: hidden; } 268 | 269 | /* ========================================================================== 270 | Figures 271 | ========================================================================== */ 272 | /* 273 | * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11. 274 | */ 275 | /* line 300, ../sass/html5bp_normalize.scss */ 276 | figure { 277 | margin: 0; } 278 | 279 | /* ========================================================================== 280 | Forms 281 | ========================================================================== */ 282 | /* 283 | * Corrects margin displayed oddly in IE 6/7. 284 | */ 285 | /* line 312, ../sass/html5bp_normalize.scss */ 286 | form { 287 | margin: 0; } 288 | 289 | /* 290 | * Define consistent border, margin, and padding. 291 | */ 292 | /* line 320, ../sass/html5bp_normalize.scss */ 293 | fieldset { 294 | border: 1px solid #c0c0c0; 295 | margin: 0 2px; 296 | padding: 0.35em 0.625em 0.75em; } 297 | 298 | /* 299 | * 1. Corrects color not being inherited in IE 6/7/8/9. 300 | * 2. Corrects text not wrapping in Firefox 3. 301 | * 3. Corrects alignment displayed oddly in IE 6/7. 302 | */ 303 | /* line 332, ../sass/html5bp_normalize.scss */ 304 | legend { 305 | border: 0; 306 | /* 1 */ 307 | padding: 0; 308 | white-space: normal; 309 | /* 2 */ 310 | *margin-left: -7px; 311 | /* 3 */ } 312 | 313 | /* 314 | * 1. Corrects font size not being inherited in all browsers. 315 | * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5, 316 | * and Chrome. 317 | * 3. Improves appearance and consistency in all browsers. 318 | */ 319 | /* line 349, ../sass/html5bp_normalize.scss */ 320 | button, 321 | input, 322 | select, 323 | textarea { 324 | font-size: 100%; 325 | /* 1 */ 326 | margin: 0; 327 | /* 2 */ 328 | vertical-align: baseline; 329 | /* 3 */ 330 | *vertical-align: middle; 331 | /* 3 */ } 332 | 333 | /* 334 | * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in 335 | * the UA stylesheet. 336 | */ 337 | /* line 362, ../sass/html5bp_normalize.scss */ 338 | button, 339 | input { 340 | line-height: normal; } 341 | 342 | /* 343 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` 344 | * and `video` controls. 345 | * 2. Corrects inability to style clickable `input` types in iOS. 346 | * 3. Improves usability and consistency of cursor style between image-type 347 | * `input` and others. 348 | * 4. Removes inner spacing in IE 7 without affecting normal text inputs. 349 | * Known issue: inner spacing remains in IE 6. 350 | */ 351 | /* line 379, ../sass/html5bp_normalize.scss */ 352 | button, 353 | html input[type="button"], 354 | input[type="reset"], 355 | input[type="submit"] { 356 | -webkit-appearance: button; 357 | /* 2 */ 358 | cursor: pointer; 359 | /* 3 */ 360 | *overflow: visible; 361 | /* 4 */ } 362 | 363 | /* 364 | * Re-set default cursor for disabled elements. 365 | */ 366 | /* line 390, ../sass/html5bp_normalize.scss */ 367 | button[disabled], 368 | input[disabled] { 369 | cursor: default; } 370 | 371 | /* 372 | * 1. Addresses box sizing set to content-box in IE 8/9. 373 | * 2. Removes excess padding in IE 8/9. 374 | * 3. Removes excess padding in IE 7. 375 | * Known issue: excess padding remains in IE 6. 376 | */ 377 | /* line 402, ../sass/html5bp_normalize.scss */ 378 | input[type="checkbox"], 379 | input[type="radio"] { 380 | box-sizing: border-box; 381 | /* 1 */ 382 | padding: 0; 383 | /* 2 */ 384 | *height: 13px; 385 | /* 3 */ 386 | *width: 13px; 387 | /* 3 */ } 388 | 389 | /* 390 | * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. 391 | * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome 392 | * (include `-moz` to future-proof). 393 | */ 394 | /* line 415, ../sass/html5bp_normalize.scss */ 395 | input[type="search"] { 396 | -webkit-appearance: textfield; 397 | /* 1 */ 398 | -moz-box-sizing: content-box; 399 | -webkit-box-sizing: content-box; 400 | /* 2 */ 401 | box-sizing: content-box; } 402 | 403 | /* 404 | * Removes inner padding and search cancel button in Safari 5 and Chrome 405 | * on OS X. 406 | */ 407 | /* line 428, ../sass/html5bp_normalize.scss */ 408 | input[type="search"]::-webkit-search-cancel-button, 409 | input[type="search"]::-webkit-search-decoration { 410 | -webkit-appearance: none; } 411 | 412 | /* 413 | * Removes inner padding and border in Firefox 3+. 414 | */ 415 | /* line 437, ../sass/html5bp_normalize.scss */ 416 | button::-moz-focus-inner, 417 | input::-moz-focus-inner { 418 | border: 0; 419 | padding: 0; } 420 | 421 | /* 422 | * 1. Removes default vertical scrollbar in IE 6/7/8/9. 423 | * 2. Improves readability and alignment in all browsers. 424 | */ 425 | /* line 447, ../sass/html5bp_normalize.scss */ 426 | textarea { 427 | overflow: auto; 428 | /* 1 */ 429 | vertical-align: top; 430 | /* 2 */ } 431 | 432 | /* ========================================================================== 433 | Tables 434 | ========================================================================== */ 435 | /* 436 | * Remove most spacing between table cells. 437 | */ 438 | /* line 460, ../sass/html5bp_normalize.scss */ 439 | table { 440 | border-collapse: collapse; 441 | border-spacing: 0; } 442 | -------------------------------------------------------------------------------- /css/ie.css: -------------------------------------------------------------------------------- 1 | /* Welcome to Compass. Use this file to write IE specific override styles. 2 | * Import this file using the following HTML or equivalent: 3 | * */ 6 | -------------------------------------------------------------------------------- /css/print.css: -------------------------------------------------------------------------------- 1 | /* Welcome to Compass. Use this file to define print styles. 2 | * Import this file using the following HTML or equivalent: 3 | * */ 4 | -------------------------------------------------------------------------------- /css/rwt_scaffold.css: -------------------------------------------------------------------------------- 1 | /* 2 | Error: Undefined variable: "$sans-serif". 3 | on line 140 of /Users/jpamental/Sites/rwt-scaffold/sass/rwt_scaffold.scss 4 | 5 | 135: margin-bottom 6 | 136: *\/ 7 | 137: 8 | 138: body, caption, th, td, input, textarea, legend, fieldset { 9 | 139: color: $text-color; 10 | 140: font-family: $sans-serif; 11 | 141: font-size: ($body-copy-size / $text-base-size) * 1em; 12 | 142: letter-spacing: normal; 13 | 143: line-height: ($body-copy-lh / $body-copy-size); 14 | 144: @include transition(font-size 0.2s ease-in-out); 15 | 145: @media (min-width: $mq-s-tab) { 16 | 17 | Backtrace: 18 | /Users/jpamental/Sites/rwt-scaffold/sass/rwt_scaffold.scss:140 19 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/script/tree/variable.rb:49:in `_perform' 20 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/script/tree/node.rb:50:in `perform' 21 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:394:in `visit_prop' 22 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/base.rb:36:in `visit' 23 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:158:in `block in visit' 24 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/stack.rb:79:in `block in with_base' 25 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/stack.rb:115:in `with_frame' 26 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/stack.rb:79:in `with_base' 27 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:158:in `visit' 28 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:430:in `block (2 levels) in visit_rule' 29 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:430:in `map' 30 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:430:in `block in visit_rule' 31 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:179:in `with_environment' 32 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:428:in `visit_rule' 33 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/base.rb:36:in `visit' 34 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:158:in `block in visit' 35 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/stack.rb:79:in `block in with_base' 36 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/stack.rb:115:in `with_frame' 37 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/stack.rb:79:in `with_base' 38 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:158:in `visit' 39 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/base.rb:52:in `block in visit_children' 40 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/base.rb:52:in `map' 41 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/base.rb:52:in `visit_children' 42 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children' 43 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:179:in `with_environment' 44 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:166:in `visit_children' 45 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/base.rb:36:in `block in visit' 46 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:186:in `visit_root' 47 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/base.rb:36:in `visit' 48 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:157:in `visit' 49 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/visitors/perform.rb:8:in `visit' 50 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/root_node.rb:36:in `css_tree' 51 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/tree/root_node.rb:20:in `render' 52 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/engine.rb:268:in `render' 53 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/plugin/compiler.rb:492:in `update_stylesheet' 54 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/plugin/compiler.rb:215:in `block in update_stylesheets' 55 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/plugin/compiler.rb:209:in `each' 56 | /Applications/CodeKit.app/Contents/Resources/engines/scss/lib/sass/plugin/compiler.rb:209:in `update_stylesheets' 57 | /Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/sass_compiler.rb:40:in `compile!' 58 | /Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/commands/update_project.rb:49:in `perform' 59 | /Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/commands/base.rb:18:in `execute' 60 | /Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/commands/project_base.rb:19:in `execute' 61 | /Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:43:in `perform!' 62 | /Library/Ruby/Gems/2.0.0/gems/compass-1.0.3/lib/compass/exec/sub_command_ui.rb:15:in `run!' 63 | /Applications/CodeKit.app/Contents/Resources/engines/compass/compass/bin/compass:52:in `block in
' 64 | /Applications/CodeKit.app/Contents/Resources/engines/compass/compass/bin/compass:66:in `call' 65 | /Applications/CodeKit.app/Contents/Resources/engines/compass/compass/bin/compass:66:in `
' 66 | */ 67 | body:before { 68 | white-space: pre; 69 | font-family: monospace; 70 | content: "Error: Undefined variable: \"$sans-serif\".\A on line 140 of /Users/jpamental/Sites/rwt-scaffold/sass/rwt_scaffold.scss\A \A 135: margin-bottom \A 136: */\A 137: \A 138: body, caption, th, td, input, textarea, legend, fieldset {\A 139: color: $text-color;\A 140: font-family: $sans-serif; \A 141: font-size: ($body-copy-size / $text-base-size) * 1em; \A 142: letter-spacing: normal;\A 143: line-height: ($body-copy-lh / $body-copy-size);\A 144: @include transition(font-size 0.2s ease-in-out);\A 145: @media (min-width: $mq-s-tab) {"; } 71 | -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-Bold.eot -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-Bold.woff -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-BoldItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-BoldItalic.eot -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-BoldItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-BoldItalic.woff -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-Light.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-Light.eot -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-Light.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-Light.woff -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-LightItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-LightItalic.eot -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-LightItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-LightItalic.woff -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-Medium.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-Medium.eot -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-Medium.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-Medium.woff -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-MediumItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-MediumItalic.eot -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-MediumItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-MediumItalic.woff -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-Regular.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-Regular.eot -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-Regular.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-Regular.woff -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-RegularItalic.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-RegularItalic.eot -------------------------------------------------------------------------------- /fonts/FiraSans/FiraSans-RegularItalic.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/fonts/FiraSans/FiraSans-RegularItalic.woff -------------------------------------------------------------------------------- /js/dd_belatedpng.js: -------------------------------------------------------------------------------- 1 | /** 2 | * DD_belatedPNG: Adds IE6 support: PNG images for CSS background-image and HTML . 3 | * Author: Drew Diller 4 | * Email: drew.diller@gmail.com 5 | * URL: http://www.dillerdesign.com/experiment/DD_belatedPNG/ 6 | * Version: 0.0.8a 7 | * Licensed under the MIT License: http://dillerdesign.com/experiment/DD_belatedPNG/#license 8 | * 9 | * Example usage: 10 | * DD_belatedPNG.fix('.png_bg'); // argument is a CSS selector 11 | * DD_belatedPNG.fixPng( someNode ); // argument is an HTMLDomElement 12 | **/ 13 | var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}},createVmlStyleSheet:function(){var b,a;b=document.createElement("style");b.setAttribute("media","screen");document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild);if(b.styleSheet){b=b.styleSheet;b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");b.addRule(this.ns+"\\:shape","position:absolute;");b.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;");this.screenStyleSheet=b;a=document.createElement("style");a.setAttribute("media","print");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);a=a.styleSheet;a.addRule(this.ns+"\\:*","{display: none !important;}");a.addRule("img."+this.ns+"_sizeFinder","{display: none !important;}")}},readPropertyChange:function(){var b,c,a;b=event.srcElement;if(!b.vmlInitiated){return}if(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1){DD_belatedPNG.applyVML(b)}if(event.propertyName=="style.display"){c=(b.currentStyle.display=="none")?"none":"block";for(a in b.vml){if(b.vml.hasOwnProperty(a)){b.vml[a].shape.style.display=c}}}if(event.propertyName.search("filter")!=-1){DD_belatedPNG.vmlOpacity(b)}},vmlOpacity:function(b){if(b.currentStyle.filter.search("lpha")!=-1){var a=b.currentStyle.filter;a=parseInt(a.substring(a.lastIndexOf("=")+1,a.lastIndexOf(")")),10)/100;b.vml.color.shape.style.filter=b.currentStyle.filter;b.vml.image.fill.opacity=a}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){if(this.screenStyleSheet){var c,b;c=a.split(",");for(b=0;bn.H){i.B=n.H}d.vml.image.shape.style.clip="rect("+i.T+"px "+(i.R+a)+"px "+i.B+"px "+(i.L+a)+"px)"}else{d.vml.image.shape.style.clip="rect("+f.T+"px "+f.R+"px "+f.B+"px "+f.L+"px)"}},figurePercentage:function(d,c,f,a){var b,e;e=true;b=(f=="X");switch(a){case"left":case"top":d[f]=0;break;case"center":d[f]=0.5;break;case"right":case"bottom":d[f]=1;break;default:if(a.search("%")!=-1){d[f]=parseInt(a,10)/100}else{e=false}}d[f]=Math.ceil(e?((c[b?"W":"H"]*d[f])-(c[b?"w":"h"]*d[f])):parseInt(a,10));if(d[f]%2===0){d[f]++}return d[f]},fixPng:function(c){c.style.behavior="none";var g,b,f,a,d;if(c.nodeName=="BODY"||c.nodeName=="TD"||c.nodeName=="TR"){return}c.isImg=false;if(c.nodeName=="IMG"){if(c.src.toLowerCase().search(/\.png$/)!=-1){c.isImg=true;c.style.visibility="hidden"}else{return}}else{if(c.currentStyle.backgroundImage.toLowerCase().search(".png")==-1){return}}g=DD_belatedPNG;c.vml={color:{},image:{}};b={shape:{},fill:{}};for(a in c.vml){if(c.vml.hasOwnProperty(a)){for(d in b){if(b.hasOwnProperty(d)){f=g.ns+":"+d;c.vml[a][d]=document.createElement(f)}}c.vml[a].shape.stroked=false;c.vml[a].shape.appendChild(c.vml[a].fill);c.parentNode.insertBefore(c.vml[a].shape,c)}}c.vml.image.shape.fillcolor="none";c.vml.image.fill.type="tile";c.vml.color.fill.on=false;g.attachHandlers(c);g.giveLayout(c);g.giveLayout(c.offsetParent);c.vmlInitiated=true;g.applyVML(c)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet(); -------------------------------------------------------------------------------- /js/demo_script-ck.js: -------------------------------------------------------------------------------- 1 | // Typographic scale toggle function 2 | $(document).ready(function(e){$(".toggle-scale").click(function(){$("html").toggleClass("font-scale-active font-scale-inactive");$(this).toggleClass("on off")});$(".toggle-fonts").click(function(e){e.preventDefault();if($("html").hasClass("wf-active")){$("html").removeClass("wf-active");$("html").addClass("wf-inactive");$(this).removeClass("on");$(this).addClass("off");$("html").addClass("corrected")}else{$("html").removeClass("wf-inactive");$("html").addClass("wf-active");$(this).removeClass("off");$(this).addClass("on");$(".toggle-font-correction").removeClass("off");$(".toggle-font-correction").addClass("on")}});$(".toggle-font-correction").click(function(e){e.preventDefault();if($("html").hasClass("corrected")){$("html").removeClass("corrected");$(this).removeClass("on");$(this).addClass("off")}else{$("html").addClass("corrected");$(this).removeClass("off");$(this).addClass("on")}});$(".toggle-otf-features").click(function(e){e.preventDefault();$("html").toggleClass("otf-active otf-inactive");$(this).toggleClass("on off")})}); -------------------------------------------------------------------------------- /js/demo_script.js: -------------------------------------------------------------------------------- 1 | // Typographic scale toggle function 2 | 3 | 4 | $(document).ready(function(e) { 5 | // Type scale toggle button 6 | $(".toggle-scale").click(function(){ 7 | $("html").toggleClass("font-scale-active font-scale-inactive"); 8 | $(this).toggleClass("on off"); 9 | }); 10 | // Type fonts toggle button 11 | $(".toggle-fonts").click(function(e){ 12 | e.preventDefault(); 13 | if($("html").hasClass("wf-active")) { 14 | $("html").removeClass("wf-active"); 15 | $("html").addClass("wf-inactive"); 16 | $(this).removeClass("on"); 17 | $(this).addClass("off"); 18 | // reset correction 19 | //$("html").addClass("corrected"); 20 | } else { 21 | $("html").removeClass("wf-inactive"); 22 | $("html").addClass("wf-active"); 23 | $(this).removeClass("off"); 24 | $(this).addClass("on"); 25 | //$(".toggle-font-correction").removeClass("off"); 26 | //$(".toggle-font-correction").addClass("on"); 27 | } 28 | }); 29 | // Type font correction toggle button 30 | $(".toggle-font-correction").click(function(e){ 31 | e.preventDefault(); 32 | if($("html").hasClass("uncorrected")) { 33 | $("html").removeClass("uncorrected"); 34 | $(this).removeClass("off"); 35 | $(this).addClass("on"); 36 | } else { 37 | $("html").addClass("uncorrected"); 38 | $(this).removeClass("on"); 39 | $(this).addClass("off"); 40 | } 41 | }); 42 | // OTF Features toggle button 43 | $(".toggle-otf-features").click(function(e){ 44 | e.preventDefault(); 45 | $("html").toggleClass("otf-active otf-inactive"); 46 | $(this).toggleClass("on off"); 47 | }); 48 | }); 49 | 50 | -------------------------------------------------------------------------------- /js/min/demo_script-min.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(t){$(".toggle-scale").click(function(){$("html").toggleClass("font-scale-active font-scale-inactive"),$(this).toggleClass("on off")}),$(".toggle-fonts").click(function(t){t.preventDefault(),$("html").hasClass("wf-active")?($("html").removeClass("wf-active"),$("html").addClass("wf-inactive"),$(this).removeClass("on"),$(this).addClass("off")):($("html").removeClass("wf-inactive"),$("html").addClass("wf-active"),$(this).removeClass("off"),$(this).addClass("on"))}),$(".toggle-font-correction").click(function(t){t.preventDefault(),$("html").hasClass("uncorrected")?($("html").removeClass("uncorrected"),$(this).removeClass("off"),$(this).addClass("on")):($("html").addClass("uncorrected"),$(this).removeClass("on"),$(this).addClass("off"))}),$(".toggle-otf-features").click(function(t){t.preventDefault(),$("html").toggleClass("otf-active otf-inactive"),$(this).toggleClass("on off")})}); -------------------------------------------------------------------------------- /js/min/script-min.js: -------------------------------------------------------------------------------- 1 | function checkMq(){$("body").removeClass("mq-l-desk"),$("body").removeClass("mq-desk"),$("body").removeClass("mq-l-tab"),$("body").removeClass("mq-s-tab"),$("body").removeClass("mq-phone"),$("body").addClass(Modernizr.mq("only all and (min-width: 80.0625em)")?"mq-l-desk":Modernizr.mq("only all and (min-width: 58em)")?"mq-desk":Modernizr.mq("only all and (min-width: 44em)")?"mq-l-tab":Modernizr.mq("only all and (min-width: 25em)")?"mq-s-tab":"mq-phone")}$(function(){checkMq(),$(window).resize(function(){checkMq(),wt.fix()})}),wt.fix({elements:"p",chars:10,method:"nbsp",event:"resize"}),wt.fix({elements:"blockquote",chars:2,method:"nbsp",event:"resize"}),function(e){function n(){d.content="width=device-width,minimum-scale="+i[0]+",maximum-scale="+i[1],e.removeEventListener(t,n,!0)}var m="addEventListener",t="gesturestart",o="querySelectorAll",i=[1,1],d=o in e?e[o]("meta[name=viewport]"):[];(d=d[d.length-1])&&m in e&&(n(),i=[.25,1.6],e[m](t,n,!0))}(document); -------------------------------------------------------------------------------- /js/respond.min.js: -------------------------------------------------------------------------------- 1 | /*! matchMedia() polyfill - Test a CSS media type/query in JS. Authors & copyright (c) 2012: Scott Jehl, Paul Irish, Nicholas Zakas. Dual MIT/BSD license */ 2 | /*! NOTE: If you're already including a window.matchMedia polyfill via Modernizr or otherwise, you don't need this part */ 3 | window.matchMedia=window.matchMedia||(function(e,f){var c,a=e.documentElement,b=a.firstElementChild||a.firstChild,d=e.createElement("body"),g=e.createElement("div");g.id="mq-test-1";g.style.cssText="position:absolute;top:-100em";d.appendChild(g);return function(h){g.innerHTML='­';a.insertBefore(d,b);c=g.offsetWidth==42;a.removeChild(d);return{matches:c,media:h}}})(document); 4 | 5 | /*! Respond.js v1.1.0: min/max-width media query polyfill. (c) Scott Jehl. MIT/GPLv2 Lic. j.mp/respondjs */ 6 | (function(e){e.respond={};respond.update=function(){};respond.mediaQueriesSupported=e.matchMedia&&e.matchMedia("only all").matches;if(respond.mediaQueriesSupported){return}var w=e.document,s=w.documentElement,i=[],k=[],q=[],o={},h=30,f=w.getElementsByTagName("head")[0]||s,g=w.getElementsByTagName("base")[0],b=f.getElementsByTagName("link"),d=[],a=function(){var D=b,y=D.length,B=0,A,z,C,x;for(;B-1,minw:F.match(/\(min\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||""),maxw:F.match(/\(max\-width:[\s]*([\s]*[0-9\.]+)(px|em)[\s]*\)/)&&parseFloat(RegExp.$1)+(RegExp.$2||"")})}}j()},l,r,v=function(){var z,A=w.createElement("div"),x=w.body,y=false;A.style.cssText="position:absolute;font-size:1em;width:1em";if(!x){x=y=w.createElement("body")}x.appendChild(A);s.insertBefore(x,s.firstChild);z=A.offsetWidth;if(y){s.removeChild(x)}else{x.removeChild(A)}z=p=parseFloat(z);return z},p,j=function(I){var x="clientWidth",B=s[x],H=w.compatMode==="CSS1Compat"&&B||w.body[x]||B,D={},G=b[b.length-1],z=(new Date()).getTime();if(I&&l&&z-l-1?(p||v()):1)}if(!!J){J=parseFloat(J)*(J.indexOf(y)>-1?(p||v()):1)}if(!K.hasquery||(!A||!L)&&(A||H>=C)&&(L||H<=J)){if(!D[K.media]){D[K.media]=[]}D[K.media].push(k[K.rules])}}for(var E in q){if(q[E]&&q[E].parentNode===f){f.removeChild(q[E])}}for(var E in D){var M=w.createElement("style"),F=D[E].join("\n");M.type="text/css";M.media=E;f.insertBefore(M,G.nextSibling);if(M.styleSheet){M.styleSheet.cssText=F}else{M.appendChild(w.createTextNode(F))}q.push(M)}},n=function(x,z){var y=c();if(!y){return}y.open("GET",x,true);y.onreadystatechange=function(){if(y.readyState!=4||y.status!=200&&y.status!=304){return}z(y.responseText)};if(y.readyState==4){return}y.send(null)},c=(function(){var x=false;try{x=new XMLHttpRequest()}catch(y){x=new ActiveXObject("Microsoft.XMLHTTP")}return function(){return x}})();a();respond.update=a;function t(){j(true)}if(e.addEventListener){e.addEventListener("resize",t,false)}else{if(e.attachEvent){e.attachEvent("onresize",t)}}})(this); -------------------------------------------------------------------------------- /js/script-ck.js: -------------------------------------------------------------------------------- 1 | /*global jQuery */function checkMq(){$("body").removeClass("mq-l-desk");$("body").removeClass("mq-desk");$("body").removeClass("mq-l-tab");$("body").removeClass("mq-s-tab");$("body").removeClass("mq-phone");if(Modernizr.mq("only all and (min-width: 80.0625em)")){$("body").addClass("mq-l-desk");resetMenu()}else if(Modernizr.mq("only all and (min-width: 58em)")){$("body").addClass("mq-desk");resetMenu()}else Modernizr.mq("only all and (min-width: 44em)")?$("body").addClass("mq-l-tab"):Modernizr.mq("only all and (min-width: 25em)")?$("body").addClass("mq-s-tab"):$("body").addClass("mq-phone")}$(function(){checkMq();$(window).resize(function(){checkMq();wt.fix()})});wt.fix({elements:"p",chars:10,method:"nbsp",event:"resize"});wt.fix({elements:"blockquote",chars:2,method:"nbsp",event:"resize"});(function(e){function o(){s.content="width=device-width,minimum-scale="+i[0]+",maximum-scale="+i[1];e.removeEventListener(n,o,!0)}var t="addEventListener",n="gesturestart",r="querySelectorAll",i=[1,1],s=r in e?e[r]("meta[name=viewport]"):[];if((s=s[s.length-1])&&t in e){o();i=[.25,1.6];e[t](n,o,!0)}})(document); -------------------------------------------------------------------------------- /js/script.js: -------------------------------------------------------------------------------- 1 | /*global jQuery */ 2 | 3 | 4 | 5 | function checkMq() { 6 | $('body').removeClass('mq-l-desk'); 7 | $('body').removeClass('mq-desk'); 8 | $('body').removeClass('mq-l-tab'); 9 | $('body').removeClass('mq-s-tab'); 10 | $('body').removeClass('mq-phone'); 11 | if(Modernizr.mq('only all and (min-width: 80.0625em)')) { 12 | $('body').addClass('mq-l-desk'); 13 | //resetMenu(); 14 | } else if(Modernizr.mq('only all and (min-width: 58em)')) { 15 | $('body').addClass('mq-desk'); 16 | //resetMenu(); 17 | } else if(Modernizr.mq('only all and (min-width: 44em)')) { 18 | $('body').addClass('mq-l-tab'); 19 | } else if(Modernizr.mq('only all and (min-width: 25em)')) { 20 | $('body').addClass('mq-s-tab'); 21 | } else { 22 | $('body').addClass('mq-phone'); 23 | } 24 | }; 25 | 26 | $(function() { 27 | // the call to checkMq here will execute after the document has loaded 28 | checkMq(); 29 | 30 | $(window).resize(function() { 31 | // the call to checkMq here will execute every time the window is resized 32 | checkMq(); 33 | wt.fix(); 34 | }); 35 | 36 | // you can add other listeners here click, hover, etc. 37 | }); 38 | 39 | /* Widowtamer functions */ 40 | wt.fix({ 41 | elements: 'p', 42 | chars: 10, 43 | method: 'nbsp', 44 | event: 'resize' 45 | }); 46 | 47 | wt.fix({ 48 | elements: 'blockquote', 49 | chars: 2, 50 | method: 'nbsp', 51 | event: 'resize' 52 | }); 53 | 54 | 55 | // Rewritten version for correcting a screen-zoom issue on rotation in iOS 56 | // By @mathias, @cheeaun and @jdalton 57 | 58 | (function(doc) { 59 | 60 | var addEvent = 'addEventListener', 61 | type = 'gesturestart', 62 | qsa = 'querySelectorAll', 63 | scales = [1, 1], 64 | meta = qsa in doc ? doc[qsa]('meta[name=viewport]') : []; 65 | 66 | function fix() { 67 | meta.content = 'width=device-width,minimum-scale=' + scales[0] + ',maximum-scale=' + scales[1]; 68 | doc.removeEventListener(type, fix, true); 69 | } 70 | 71 | if ((meta = meta[meta.length - 1]) && addEvent in doc) { 72 | fix(); 73 | scales = [0.25, 1.6]; 74 | doc[addEvent](type, fix, true); 75 | } 76 | 77 | }(document)); -------------------------------------------------------------------------------- /js/widowtamer/LICENSE.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2012 Nathan Ford 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /js/widowtamer/README: -------------------------------------------------------------------------------- 1 | The Widow Tamer 2 | 3 | …is a Javascript to automatically fix typographic widows on your web pages. It is designed to work with responsive sites, fixing widows as it finds them on resize or orientation change. 4 | 5 | What is a Widow? 6 | 7 | Widows are left over characters at the end of a paragraph. If the last line of a paragraph contains less than 14 characters (for example), it is said to have a widow. Widows are disruptive to both text layouts and reading experiences. Therefore, we must tame them. 8 | 9 | How does The Widow Tamer work? 10 | 11 | By setting the elements you want fixed, the number of characters you consider a “widow”, and the method by which you want them fixed, you can eliminate widows from your site. The script will cycle through the elements, apply your “method” (more on that later), check if the widow has been fixed, and repeat until the widow is tamed. 12 | 13 | You only need to download the script, and link it in the HEAD of your page(s). Then, you can call a simple Javascript function to start taming widows: 14 | 15 | wt.fix(); 16 | 17 | You can also set a few custom options: 18 | 19 | Option Description Default 20 | 21 | elements Which elements? jQuery-like Selector 'p,li,dd' 22 | 23 | chars Number of characters to qualify a “widow” 14 24 | 25 | method Method by which to fix the widow 'word-spacing' 26 | Options: 'word-spacing' 27 | 'padding-right/padding-left' 28 | 'letter-spacing' 29 | 'nbsp' 30 | 31 | dir Used with certain methods. +/- change 'pos' 32 | Options: 'pos' 33 | 'neg' 34 | 35 | event Any window events on which to run the fix 'orientationchange' 36 | Suggested Options: 'orientationchange' 37 | 'resize' 38 | 39 | The script will run initially on window.onload, and then fire every time the 'event' is triggered. 40 | 41 | Example Implementation 42 | 43 | You can run multiple instances of the function target different elements with different methods. For example, here we are adding padding to the right of paragraphs in our main post article: 44 | 45 | wt.fix({ 46 | elements: '#posts article p', 47 | chars: 20, 48 | method: 'padding-right', 49 | event: 'resize' 50 | }); 51 | 52 | And on the same page, on the same events, we may want to fix the headers in our footer by adding non-breaking spaces: 53 | 54 | wt.fix({ 55 | elements: 'footer aside h1', 56 | chars: 20, 57 | method: 'nbsp', 58 | event: 'resize' 59 | }); 60 | 61 | Browser Support 62 | 63 | The Widow Tamer works in IE8+ and all other modern browsers. 64 | 65 | Details 66 | 67 | The Widow Tamer was created by Nathan Ford. Feel free to interrupt him any time with questions, concerns, complaints, etc. 68 | 69 | nathan@artequalswork.com 70 | @nathan_ford on Twitter 71 | 72 | -------------------------------------------------------------------------------- /js/widowtamer/widowtamer-min.js: -------------------------------------------------------------------------------- 1 | // Widow Tamer JS by Nathan C. Ford http://artequalswork.com 2 | eval(function(p,a,c,k,e,r){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('2={u:{C:\'p,1i,1j\',v:14,6:\'1k\',D:\'1l\',O:\'1m\'},E:P 1n(),1o:4(a){3(w.1p===\'1q\')2.F(a);2.G(\'1r\',4(){2.F(a)})},F:4(a){5 m=a.6;1s(m){k\'8-Q\':k\'R\':k\'8-S\':k\'T-x\':k\'U-x\':k V:3(a.D==\'H\'&&m&&m.I(\'8\')){W.X(\'Y 6. 1t 1u 11 H 1v 8.\')}7 2.J(a);12;1w:W.X(\'Y 6. 1x 11 1y 8-Q, 8-S, T-x, 1z U-x.\')}},J:4(a){5 b=P 1A();3(a){1B(i 1C 2.u){3(a[i])b[i]=(i==\'6\'&&a[i].I(\'-\'))?2.13(a[i]):a[i];7 b[i]=2.u[i]}}7 b=2.u;3(w.15){5 d=w.15(b.C),i=0;16(i2.17(t,\'1D-1E\',18)){5 e=t.1F,j=e.K-1,c=1G;16(j>=0){5 f=2.y(e[j]);3(f!=V&&f.K>b.v){c=e[j];12}j--}t.19[b.6]=\'0\';5 g=2.y(c);3(c)2.M(c,t,g,0,b)}i++}2.G(b.O,4(){2.1a(b)})}},y:4(t){l t.N||t.1b},o:4(e,t){3(e.N)e.N=t;7 e.1b=t},M:4(c,t,a,i,b){5 h=t.L;2.o(c,a.1c(0,(b.v*-1)));3(t.L wt.getstyle(t, 'line-height', true)) { 72 | 73 | // find a textnode longer than chars 74 | var nodes = t.childNodes, 75 | j = nodes.length - 1, 76 | c = false; 77 | 78 | while (j >= 0) { 79 | 80 | var ntext = wt.text(nodes[j]); 81 | 82 | if (ntext != undefined && ntext.length > opts.chars) { 83 | c = nodes[j]; 84 | break; 85 | } 86 | 87 | j--; 88 | 89 | } 90 | 91 | t.style[opts.method] = '0'; 92 | 93 | var ctext = wt.text( c ); 94 | 95 | if (c) wt.tamer(c, t, ctext, 0, opts); 96 | 97 | } 98 | 99 | i++; 100 | 101 | } 102 | 103 | wt.bind(opts.event, function () { wt.onevent(opts); }); 104 | 105 | } 106 | 107 | }, 108 | 109 | text : function (t) { 110 | 111 | return t.innerText || t.textContent; 112 | 113 | }, 114 | 115 | settext : function (e, t) { 116 | 117 | if (e.innerText) e.innerText = t; 118 | else e.textContent = t; 119 | 120 | }, 121 | 122 | tamer : function (c, t, text, i, opts) { 123 | 124 | var h = t.offsetHeight; 125 | 126 | wt.settext(c, text.slice(0, (opts.chars * -1))); 127 | 128 | if (t.offsetHeight < h) { 129 | 130 | if (opts.method == 'nbsp') wt.settext(c, wt.text( c ) + text.slice((opts.chars * -1)).replace(/\s/g, '\u00a0')); 131 | 132 | else { 133 | 134 | var inc = (opts.method.match('padding')) ? (i / 10) : (i / 100); 135 | 136 | if (opts.dir == 'neg') inc = inc * -1; 137 | 138 | t.style[opts.method] = inc + 'em'; 139 | 140 | wt.settext(c, text); 141 | 142 | wt.tamer(c, t, text, i + 1, opts); 143 | 144 | } 145 | 146 | } 147 | else wt.settext(c, text); 148 | 149 | }, 150 | 151 | onevent : function (opts) { 152 | 153 | var to = "'" + opts.elements.replace(/[^a-zA-Z0-9\-\.]/g, '') + "'"; 154 | 155 | clearTimeout(wt.to[to]); 156 | wt.to[to] = setTimeout(function () { wt.hunter(opts); }, 250); 157 | 158 | }, 159 | 160 | bind : function (e, f) { 161 | 162 | if (window.attachEvent) window.attachEvent('on' + e, f ); 163 | else window.addEventListener(e, f, true); 164 | 165 | }, 166 | 167 | fixmethod : function (s) { 168 | 169 | return s.replace(/-([a-zA-Z])/, function (m) { 170 | 171 | return m.replace('-','').toUpperCase(); 172 | 173 | }); 174 | 175 | }, 176 | 177 | getstyle : function (t, s, n) { 178 | 179 | var r; 180 | 181 | if (t.currentStyle) r = t.currentStyle[s.replace(/-([A-z])/gi, function(a,b) {return b.toUpperCase();})]; 182 | else if (window.getComputedStyle) r = document.defaultView.getComputedStyle(t,null).getPropertyValue(s); 183 | 184 | if (n) return parseFloat(r); 185 | else return r; 186 | 187 | } 188 | 189 | }; -------------------------------------------------------------------------------- /js/wt-script.js: -------------------------------------------------------------------------------- 1 | 2 | wt.fix({ 3 | elements: 'p', 4 | chars: 10, 5 | method: 'nbsp', 6 | event: 'resize' 7 | }); 8 | 9 | wt.fix({ 10 | elements: 'blockquote', 11 | chars: 2, 12 | method: 'nbsp', 13 | event: 'resize' 14 | }); 15 | -------------------------------------------------------------------------------- /php-typography/change_log-php.txt: -------------------------------------------------------------------------------- 1 | 1.21 - December 31, 2009 2 | 3 | Fixed bug in custom diacritic handling 4 | 5 | 6 | 1.20 - December 20, 2009 7 | 8 | Resolved uninitiated variable 9 | Added HTML5 elements to parsing algorithm for greater contextual awareness 10 | Updated to PHP Parser 1.20 11 | 12 | 13 | 1.19 - December 1, 2009 14 | 15 | Fixed bug where dewidow functionality would add broken no-break spaces to the end of texts, and smart_exponents would drop some of the resulting text. 16 | Declared encoding in all instances of mb_substr to avoid conflicts 17 | Corrected a few instances of undeclared variables. 18 | Updated to PHP Parser 1.19 19 | 20 | 1.18 - November 10, 2009 21 | 22 | Added Norwegian Hyphenation Patterns 23 | 24 | 1.17 - November 9, 2009 25 | 26 | Fixed bug in diacritic handling 27 | 28 | 1.16 - November 4, 2009 29 | 30 | Added US English list of all words containing diacritics to `/diacritics/en-US.php` 31 | Added get_diacritic_languages() method 32 | Added set_smart_diacritics() method 33 | Added set_diacritic_language() method 34 | Added set_diacritic_custom_replacements() method 35 | Added smart_diacritics() method 36 | Improved smart quotes and dashes to be sensitive to adjacent diacritic characters. 37 | 38 | 1.15 - October 21, 2009 39 | 40 | Depreciated set_smart_quotes_language() 41 | Added set_smart_quotes_primary() 42 | Added set_smart_quotes_secondary() 43 | 44 | 1.14 - September 8, 2009 45 | 46 | Improved space_collapse method 47 | Corrected bug in smart quote and single character word handling where the "0" character may be improperly duplicated 48 | 49 | 1.13 - August 31, 2009 50 | 51 | Added set_space_collapse and space_collapse methods 52 | 53 | 1.12 - August 17, 2009 54 | 55 | Corrected multibyte character error that caused set_single_character_word_spacing() to drop words under rare circumstances 56 | 57 | 1.11 - August 14, 2009 58 | 59 | Added language specific quote handling (for single quotes, not just double) for English, German and French quotation styles 60 | 61 | 1.10 - August 14, 2009 62 | 63 | Added set_smart_quotes_language() for unique handling of English, German and French quotation styles 64 | Corrected multibyte character error that caused set_single_character_word_spacing() to drop words under rare circumstances 65 | Expanded the multibyte character set recognized as valid word characters for improved hyphenation 66 | Updated to PHP Parser 1.10 67 | 68 | 1.9 - August 12, 2009 69 | 70 | Added option to force single character words to wrap to new line (unless they are widows). 71 | Fixed bug where hyphenation pattern settings were not initialized with multiple phpTypography class instances. 72 | 73 | 1.8 - August 4, 2009 74 | 75 | Fixed date handling in smart_math() and smart_dashes() methods 76 | Fixed style_caps() method to be friendly with soft-hyphens 77 | 78 | 1.7 - July 28, 2009 79 | 80 | Reformatted language files with line returns after each key=>value pair in an array 81 | 82 | 1.6 - July 28, 2009 83 | 84 | Efficiency Optimizations ( approximately 25% speed increase ) Thanks Jenny! 85 | 86 | 1.5 - July 27, 2009 87 | 88 | Added the set_hyphenate_title_case() method to exclude hyphenation of capitalized (title case) words to help protect proper nouns 89 | Added Hungarian Hyphenation Pattern 90 | 91 | 1.4 - July 23, 2009 92 | 93 | Updated to PHP Parser 1.4 (fixed a hyphenation problem where pre-hyphenated words were processed again) 94 | 95 | 1.3 - July 23, 2009 96 | 97 | Uninitialized variables corrected throughout. 98 | Use of 2 instances of create_function() eliminated for performance gain 99 | Cleaned up HTML character handling in process_feed(). No errors were identified prior to edit, but now it is consistent with how process() works. 100 | 101 | 1.2 - July 23, 2009 102 | 103 | moved the processing of widow handling after hyphenation so that max-pull would not be compared to the length of the adjacent word, but rather the length of the adjacent word segment (i.e. that after a soft hyphen) 104 | 105 | 1.1 - July 22, 2009 106 | 107 | By default, when class phpTypography is constructed, set_defaults is called. However, if you are going to manually set all settings, you can now bypass the set_defaults call for slightly improved performance. Just call `$typo = new phpTypography(FALSE)` 108 | Added `html_entity_decode` to process_feed to avoid invalid character injection (according to XML's specs) 109 | 110 | 1.0.3 - July 17, 2009 = 111 | 112 | Reverted use of the hyphen character to the basic minus-hyphen in words like "mother-in-law" because of poor support in IE6 113 | 114 | 1.0.2 - July 16, 2009 115 | 116 | Corrected smart_math to not convert slashes in URLs to division signs 117 | 118 | 1.0 - July 15, 2009 119 | 120 | Added test to phpTypography methods process() and process_feed() to skip processing if $isTitle parameter is TRUE and h1 or h2 is an excluded HTML tag 121 | 122 | 1.0 beta 9 - July 14, 2009 123 | 124 | added catch-all quote handling, now any quotes that escape previous filters will be assumed to be closing quotes 125 | 126 | 1.0 beta 8 - July 13, 2009 127 | 128 | Changed thin space injection behavior so that for text such as "...often-always?-judging...", the second dash will be wrapped in thin spaces 129 | Corrected error where fractions were not being styled because of a zero-space insertion with the wrap hard hyphens functionality 130 | Added default class to exclude: "noTypo" 131 | 132 | 133 | 1.0 beta 7 - July 10, 2009 134 | 135 | added "/" as a valid word character so we could capture "this/that" as a word for processing (similar to "mother-in-law") 136 | Corrected error where characters from the Latin 1 Supplement Block were not recognized as word characters 137 | Corrected smart quote handling for strings of numbers 138 | Added smart guillemet conversion as part of smart quotes: << and >> to « and » 139 | Added smart Single Low 9 Quote conversion as part of smart quotes: comma followed by non-space becomes Single Low 9 Quote 140 | Added Single Low 9 Quote, Double Low 9 Quote and » to style_initial_character functionality 141 | Added a new phpTypography method smart_math that assigns proper characters to minus, multiplication and division characters 142 | Depreciated the phpTypography method smart_multiplication in favor of smart_math 143 | Cleaned up some smart quote functionality 144 | Added ability to wrap after "/" if set_wrap_hard_hyphen is TRUE (like "this/that") 145 | 146 | 1.0 beta 6 - July 9, 2009 147 | 148 | Critical bug fix: RSS feeds were being disabled by previous versions. This has been corrected. 149 | 150 | 1.0 beta 5 - July 8, 2009 151 | 152 | corrected error where requiring Em/En dash thin spacing "word-" would become "word –" instead of "word–" 153 | 154 | 1.0 beta 4 - July 7, 2009 155 | 156 | Added default encoding value to smart_quote handling to avoid PHP warning messages 157 | 158 | 1.0 beta 3 - July 6, 2009 159 | 160 | corrected curling quotes at the end of block level elements 161 | 162 | 1.0 beta 2 - July 6, 2009 163 | 164 | corrected multibyte character conflict in smart-quote handling that caused infrequent dropping of text 165 | thin space injection included for en-dashes 166 | 167 | 1.0 beta 1 - July 3, 2009 168 | 169 | initial release -------------------------------------------------------------------------------- /php-typography/diacritics/en-US.php: -------------------------------------------------------------------------------- 1 | value ); 12 | * where "key" is the needle and "value" is the replacement 13 | **/ 14 | 15 | $diacriticLanguage = 'English (United States)'; 16 | 17 | $diacriticWords = array( 18 | "a bas"=>"à bas", 19 | "A bas"=>"À bas", 20 | "a la"=>"à la", 21 | "A la"=>"À la", 22 | "a la carte"=>"à la carte", 23 | "A la carte"=>"À la carte", 24 | "a la mode"=>"à la mode", 25 | "A la mode"=>"À la mode", 26 | "a gogo"=>"à gogo", 27 | "A gogo"=>"À gogo", 28 | "ago-go"=>"àgo-go", 29 | "Ago-go"=>"Àgo-go", 30 | "abbe"=>"abbé", 31 | "Abbe"=>"Abbé", 32 | "adios"=>"adiós", 33 | "Adios"=>"Adiós", 34 | "agrement"=>"agrément", 35 | "Agrement"=>"Agrément", 36 | "anime"=>"animé", 37 | "Anime"=>"Animé", 38 | "Ancien Regime"=>"Ancien Régime", 39 | "angstrom"=>"ångström", 40 | "Angstrom"=>"Ångström", 41 | "anu"=>"añu", 42 | "Anu"=>"Añu", 43 | "ao dai"=>"áo dài", 44 | "Ao dai"=>"Áo dài", 45 | "aperitif"=>"apéritif", 46 | "Aperitif"=>"Apéritif", 47 | "applique"=>"appliqué", 48 | "Applique"=>"Appliqué", 49 | "apres-ski"=>"après-ski", 50 | "Apres-ski"=>"Après-ski", 51 | "arete"=>"arête", 52 | "Arete"=>"Arête", 53 | "attache"=>"attaché", 54 | "Attache"=>"Attaché", 55 | "auto-da-fe"=>"auto-da-fé", 56 | "Auto-da-fe"=>"Auto-da-fé", 57 | "acaí"=>"açaí", 58 | "Acaí"=>"Açaí", 59 | "belle epoque"=>"belle époque", 60 | "Belle epoque"=>"Belle époque", 61 | "bete noire"=>"bête noire", 62 | "Bete noire"=>"Bête noire", 63 | "betise"=>"bêtise", 64 | "Betise"=>"Bêtise", 65 | "blase"=>"blasé", 66 | "Blase"=>"Blasé", 67 | "boite"=>"boîte", 68 | "Boite"=>"Boîte", 69 | "Bon"=>"Bön", 70 | "Bootes"=>"Boötes", 71 | "boutonniere"=>"boutonnière", 72 | "Boutonniere"=>"Boutonnière", 73 | "bric-a-brac"=>"bric-à-brac", 74 | "Bric-a-brac"=>"Bric-à-brac", 75 | "cafe"=>"café", 76 | "Cafe"=>"Café", 77 | "canape"=>"canapé", 78 | "Canape"=>"Canapé", 79 | "Champs-Elysees"=>"Champs-Élysées", 80 | "chateau"=>"château", 81 | "Chateau"=>"Château", 82 | "charge d'affaires"=>"chargé d'affaires", 83 | "Charge d'affaires"=>"Chargé d'affaires", 84 | "cause celebre"=>"cause célèbre", 85 | "Cause celebre"=>"Cause célèbre", 86 | "chaines"=>"chaînés", 87 | "Chaines"=>"Chaînés", 88 | "cinema verite"=>"cinéma vérité", 89 | "Cinema verite"=>"Cinéma vérité", 90 | "cliche"=>"cliché", 91 | "Cliche"=>"Cliché", 92 | "cloisonne"=>"cloisonné", 93 | "Cloisonne"=>"Cloisonné", 94 | "consomme"=>"consommé", 95 | "Consomme"=>"Consommé", 96 | "communique"=>"communiqué", 97 | "Communique"=>"Communiqué", 98 | "confrere"=>"confrère", 99 | "Confrere"=>"Confrère", 100 | "coopt"=>"coöpt", 101 | "Coopt"=>"Coöpt", 102 | "cortege"=>"cortège", 103 | "Cortege"=>"Cortège", 104 | "coup d'etat"=>"coup d'état", 105 | "Coup d'etat"=>"Coup d'état", 106 | "coup de grace"=>"coup de grâce", 107 | "Coup de grace"=>"Coup de grâce", 108 | "creche"=>"crèche", 109 | "Creche"=>"Crèche", 110 | "coulee"=>"coulée", 111 | "Coulee"=>"Coulée", 112 | "creme brulee"=>"crème brûlée", 113 | "Creme brulee"=>"Crème brûlée", 114 | "creme fraiche"=>"crème fraîche", 115 | "Creme fraiche"=>"Crème fraîche", 116 | "creme"=>"crème", 117 | "Creme"=>"Crème", 118 | "crepe"=>"crêpe", 119 | "Crepe"=>"Crêpe", 120 | "Creusa"=>"Creüsa", 121 | "crouton"=>"croûton", 122 | "Crouton"=>"Croûton", 123 | "crudites"=>"crudités", 124 | "Crudites"=>"Crudités", 125 | "Curacao"=>"Curaçao", 126 | "dais"=>"daïs", 127 | "Dais"=>"Daïs", 128 | "dau hoi"=>"dấu hỏi", 129 | "Dau hoi"=>"Dấu hỏi", 130 | "debutante"=>"débutante", 131 | "Debutante"=>"Débutante", 132 | "declasse"=>"déclassé", 133 | "Declasse"=>"Déclassé", 134 | "decolletage"=>"décolletage", 135 | "Decolletage"=>"Décolletage", 136 | "decollete"=>"décolleté", 137 | "Decollete"=>"Décolleté", 138 | "decor"=>"décor", 139 | "Decor"=>"Décor", 140 | "decoupage"=>"découpage", 141 | "Decoupage"=>"Découpage", 142 | "degage"=>"dégagé", 143 | "Degage"=>"Dégagé", 144 | "deja vu"=>"déjà vu", 145 | "Deja vu"=>"Déjà vu", 146 | "demode"=>"démodé", 147 | "Demode"=>"Démodé", 148 | "denouement"=>"dénouement", 149 | "Denouement"=>"Dénouement", 150 | "derailleur"=>"dérailleur", 151 | "Derailleur"=>"Dérailleur", 152 | "derriere"=>"derrière", 153 | "Derriere"=>"Derrière", 154 | "deshabille"=>"déshabillé", 155 | "Deshabille"=>"Déshabillé", 156 | "detente"=>"détente", 157 | "Detente"=>"Détente", 158 | "diamante"=>"diamanté", 159 | "Diamante"=>"Diamanté", 160 | "discotheque"=>"discothèque", 161 | "Discotheque"=>"Discothèque", 162 | "doppelganger"=>"doppelgänger", 163 | "Doppelganger"=>"Doppelgänger", 164 | "eclair"=>"éclair", 165 | "Eclair"=>"Éclair", 166 | "eclat"=>"éclat", 167 | "Eclat"=>"Éclat", 168 | "Eire"=>"Éire", 169 | "El Nino"=>"El Niño", 170 | "elan"=>"élan", 171 | "Elan"=>"Élan", 172 | "emigre"=>"émigré", 173 | "Emigre"=>"Émigré", 174 | "entree"=>"entrée", 175 | "Entree"=>"Entrée", 176 | "entrepot"=>"entrepôt", 177 | "Entrepot"=>"Entrepôt", 178 | "entrecote"=>"entrecôte", 179 | "Entrecote"=>"Entrecôte", 180 | "epee"=>"épée", 181 | "Epee"=>"Épée", 182 | "etouffee"=>"étouffée", 183 | "Etouffee"=>"Étouffée", 184 | "etude"=>"étude", 185 | "Etude"=>"Étude", 186 | "facade"=>"façade", 187 | "Facade"=>"Façade", 188 | "fete"=>"fête", 189 | "Fete"=>"Fête", 190 | "faience"=>"faïence", 191 | "Faience"=>"Faïence", 192 | "fiance"=>"fiancé", 193 | "Fiance"=>"Fiancé", 194 | "fiancee"=>"fiancée", 195 | "Fiancee"=>"Fiancée", 196 | "filmjolk"=>"filmjölk", 197 | "Filmjolk"=>"Filmjölk", 198 | "fin de siecle"=>"fin de siècle", 199 | "Fin de siecle"=>"Fin de siècle", 200 | "flambe"=>"flambé", 201 | "Flambe"=>"Flambé", 202 | "fleche"=>"flèche", 203 | "Fleche"=>"Flèche", 204 | "fohn wind"=>"föhn wind", 205 | "Fohn wind"=>"Föhn wind", 206 | "folie a deux"=>"folie à deux", 207 | "Folie a deux"=>"Folie à deux", 208 | "fouette"=>"fouetté", 209 | "Fouette"=>"Fouetté", 210 | "frappe"=>"frappé", 211 | "Frappe"=>"Frappé", 212 | "fraulein"=>"fräulein", 213 | "Fraulein"=>"Fräulein", 214 | "Fuhrer"=>"Führer", 215 | "garcon"=>"garçon", 216 | "Garcon"=>"Garçon", 217 | "gateau"=>"gâteau", 218 | "Gateau"=>"Gâteau", 219 | "gemutlichkeit"=>"gemütlichkeit", 220 | "Gemutlichkeit"=>"Gemütlichkeit", 221 | "glace"=>"glacé", 222 | "Glace"=>"Glacé", 223 | "glogg"=>"glögg", 224 | "Glogg"=>"Glögg", 225 | "Gewurztraminer"=>"Gewürztraminer", 226 | "Gotterdammerung"=>"Götterdämmerung", 227 | "Grafenberg spot"=>"Gräfenberg spot", 228 | "gruyere"=>"gruyère", 229 | "Gruyere"=>"Gruyère", 230 | "habitue"=>"habitué", 231 | "Habitue"=>"Habitué", 232 | "hacek"=>"háček", 233 | "Hacek"=>"Háček", 234 | "hors d’oeuvre"=>"hors d’œuvre", 235 | "Hors d’oeuvre"=>"Hors d’œuvre", 236 | "ingenue"=>"ingénue", 237 | "Ingenue"=>"Ingénue", 238 | "jager"=>"jäger", 239 | "Jager"=>"Jäger", 240 | "jalapeno"=>"jalapeño", 241 | "Jalapeno"=>"Jalapeño", 242 | "jardiniere"=>"jardinière", 243 | "Jardiniere"=>"Jardinière", 244 | "krouzek"=>"kroužek", 245 | "Krouzek"=>"Kroužek", 246 | "kummel"=>"kümmel", 247 | "Kummel"=>"Kümmel", 248 | "kaldolmar"=>"kåldolmar", 249 | "Kaldolmar"=>"Kåldolmar", 250 | "karaoke"=>"karaōke", 251 | "Karaoke"=>"Karaōke", 252 | "landler"=>"ländler", 253 | "Landler"=>"Ländler", 254 | "langue d'oil"=>"langue d'oïl", 255 | "Langue d'oil"=>"Langue d'oïl", 256 | "La Nina"=>"La Niña", 257 | "litterateur"=>"littérateur", 258 | "Litterateur"=>"Littérateur", 259 | "lycee"=>"lycée", 260 | "Lycee"=>"Lycée", 261 | "macedoine"=>"macédoine", 262 | "Macedoine"=>"Macédoine", 263 | "macrame"=>"macramé", 264 | "Macrame"=>"Macramé", 265 | "maitre d'hotel"=>"maître d'hôtel", 266 | "Maitre d'hotel"=>"Maître d'hôtel", 267 | "malaguena"=>"malagueña", 268 | "Malaguena"=>"Malagueña", 269 | "manana"=>"mañana", 270 | "Manana"=>"Mañana", 271 | "manege"=>"manège", 272 | "Manege"=>"Manège", 273 | "manoeuvre"=>"manœuvre", 274 | "Manoeuvre"=>"Manœuvre", 275 | "manque"=>"manqué", 276 | "Manque"=>"Manqué", 277 | "materiel"=>"matériel", 278 | "Materiel"=>"Matériel", 279 | "matinee"=>"matinée", 280 | "Matinee"=>"Matinée", 281 | "melange"=>"mélange", 282 | "Melange"=>"Mélange", 283 | "melee"=>"mêlée", 284 | "Melee"=>"Mêlée", 285 | "menage a trois"=>"ménage à trois", 286 | "Menage a trois"=>"Ménage à trois", 287 | "mesalliance"=>"mésalliance", 288 | "Mesalliance"=>"Mésalliance", 289 | "metier"=>"métier", 290 | "Metier"=>"Métier", 291 | "Metis"=>"Métis", 292 | "minaudiere"=>"minaudière", 293 | "Minaudiere"=>"Minaudière", 294 | "moire"=>"moiré", 295 | "Moire"=>"Moiré", 296 | "Montreal"=>"Montréal", 297 | "naif"=>"naïf", 298 | "Naif"=>"Naïf", 299 | "naive"=>"naïve", 300 | "Naive"=>"Naïve", 301 | "naivete"=>"naïveté", 302 | "Naivete"=>"Naïveté", 303 | "ne"=>"né", 304 | "Ne"=>"Né", 305 | "nee"=>"née", 306 | "Nee"=>"Née", 307 | "negligee"=>"négligée", 308 | "Negligee"=>"Négligée", 309 | "Neufchatel"=>"Neufchâtel", 310 | "Nez Perce"=>"Nez Percé", 311 | "Noel"=>"Noël", 312 | "numero uno"=>"número uno", 313 | "Numero uno"=>"Número uno", 314 | "Montano"=>"Montaño", 315 | "objet trouve"=>"objet trouvé", 316 | "Objet trouve"=>"Objet trouvé", 317 | "ole"=>"olé", 318 | "Ole"=>"Olé", 319 | "ombre"=>"ombré", 320 | "Ombre"=>"Ombré", 321 | "omerta"=>"omertà", 322 | "Omerta"=>"Omertà", 323 | "opera bouffe"=>"opéra bouffe", 324 | "Opera bouffe"=>"Opéra bouffe", 325 | "opera comique"=>"opéra comique", 326 | "Opera comique"=>"Opéra comique", 327 | "outre"=>"outré", 328 | "Outre"=>"Outré", 329 | "papier-mache"=>"papier-mâché", 330 | "Papier-mache"=>"Papier-mâché", 331 | "passe"=>"passé", 332 | "Passe"=>"Passé", 333 | "pate"=>"pâté", 334 | "Pate"=>"Pâté", 335 | "pho"=>"phở", 336 | "Pho"=>"Phở", 337 | "piece de resistance"=>"pièce de résistance", 338 | "Piece de resistance"=>"Pièce de résistance", 339 | "pied-a-terre"=>"pied-à-terre", 340 | "Pied-a-terre"=>"Pied-à-terre", 341 | "plisse"=>"plissé", 342 | "Plisse"=>"Plissé", 343 | "pina colada"=>"piña colada", 344 | "Pina colada"=>"Piña colada", 345 | "pinata"=>"piñata", 346 | "Pinata"=>"Piñata", 347 | "pinon"=>"piñón", 348 | "Pinon"=>"Piñón", 349 | "pirana"=>"piraña", 350 | "Pirana"=>"Piraña", 351 | "pique"=>"piqué", 352 | "Pique"=>"Piqué", 353 | "piu"=>"più", 354 | "Piu"=>"Più", 355 | "plie"=>"plié", 356 | "Plie"=>"Plié", 357 | "precis"=>"précis", 358 | "Precis"=>"Précis", 359 | "polsa"=>"pölsa", 360 | "Polsa"=>"Pölsa", 361 | "premiere"=>"première", 362 | "Premiere"=>"Première", 363 | "pret-a-porter"=>"prêt-à-porter", 364 | "Pret-a-porter"=>"Prêt-à-porter", 365 | "protege"=>"protégé", 366 | "Protege"=>"Protégé", 367 | "protegee"=>"protégée", 368 | "Protegee"=>"Protégée", 369 | "puree"=>"purée", 370 | "Puree"=>"Purée", 371 | "Quebecois"=>"Québécois", 372 | "raison d'etre"=>"raison d'être", 373 | "Raison d'etre"=>"Raison d'être", 374 | "recherche"=>"recherché", 375 | "Recherche"=>"Recherché", 376 | "reclame"=>"réclame", 377 | "Reclame"=>"Réclame", 378 | "regime"=>"régime", 379 | "Regime"=>"Régime", 380 | "retrousse"=>"retroussé", 381 | "Retrousse"=>"Retroussé", 382 | "risque"=>"risqué", 383 | "Risque"=>"Risqué", 384 | "riviere"=>"rivière", 385 | "Riviere"=>"Rivière", 386 | "roman a clef"=>"roman à clef", 387 | "Roman a clef"=>"Roman à clef", 388 | "roue"=>"roué", 389 | "Roue"=>"Roué", 390 | "saute"=>"sauté", 391 | "Saute"=>"Sauté", 392 | "seance"=>"séance", 393 | "Seance"=>"Séance", 394 | "senor"=>"señor", 395 | "Senor"=>"Señor", 396 | "senora"=>"señora", 397 | "Senora"=>"Señora", 398 | "senorita"=>"señorita", 399 | "Senorita"=>"Señorita", 400 | "Sinn Fein"=>"Sinn Féin", 401 | "smorgasbord"=>"smörgåsbord", 402 | "Smorgasbord"=>"Smörgåsbord", 403 | "smorgastarta"=>"smörgåstårta", 404 | "Smorgastarta"=>"Smörgåstårta", 405 | "soigne"=>"soigné", 406 | "Soigne"=>"Soigné", 407 | "soiree"=>"soirée", 408 | "Soiree"=>"Soirée", 409 | "souffle"=>"soufflé", 410 | "Souffle"=>"Soufflé", 411 | "soupcon"=>"soupçon", 412 | "Soupcon"=>"Soupçon", 413 | "surstromming"=>"surströmming", 414 | "Surstromming"=>"Surströmming", 415 | "tete-a-tete"=>"tête-à-tête", 416 | "Tete-a-tete"=>"Tête-à-tête", 417 | "touche"=>"touché", 418 | "Touche"=>"Touché", 419 | "tourtiere"=>"tourtière", 420 | "Tourtiere"=>"Tourtière", 421 | "uber"=>"über", 422 | "Uber"=>"Über", 423 | "Ubermensch"=>"Übermensch", 424 | "Zaire"=>"Zaïre", 425 | ); -------------------------------------------------------------------------------- /php-typography/lang/el-Mono.php: -------------------------------------------------------------------------------- 1 | array( 57 | 'ι'=>'03', 58 | 'ί'=>'03', 59 | 'η'=>'03', 60 | 'ή'=>'03', 61 | 'υ'=>'03', 62 | 'ύ'=>'03', 63 | 'β'=>'04', 64 | 'γ'=>'04', 65 | 'δ'=>'04', 66 | 'ζ'=>'04', 67 | 'θ'=>'04', 68 | 'κ'=>'04', 69 | 'λ'=>'04', 70 | 'μ'=>'04', 71 | 'ν'=>'04', 72 | 'ξ'=>'04', 73 | 'π'=>'04', 74 | 'ρ'=>'04', 75 | 'σ'=>'04', 76 | 'ϲ'=>'04', 77 | 'τ'=>'04', 78 | 'φ'=>'04', 79 | 'χ'=>'04', 80 | 'ψ'=>'04' 81 | ), 82 | 'end'=>array( 83 | 'άη'=>'030', 84 | 'άι'=>'030', 85 | 'όη'=>'030', 86 | 'όι'=>'030', 87 | 'β'=>'40', 88 | 'γ'=>'40', 89 | 'γκ'=>'400', 90 | 'δ'=>'40', 91 | 'ζ'=>'40', 92 | 'θ'=>'40', 93 | 'κ'=>'40', 94 | 'λ'=>'40', 95 | 'μ'=>'40', 96 | 'μπ'=>'400', 97 | 'ν'=>'40', 98 | 'ντ'=>'400', 99 | 'ξ'=>'40', 100 | 'π'=>'40', 101 | 'ρ'=>'40', 102 | 'σ'=>'40', 103 | 'ϲ'=>'40', 104 | 'ς'=>'40', 105 | 'τ'=>'40', 106 | 'τζ'=>'400', 107 | 'τσ'=>'400', 108 | 'τϲ'=>'400', 109 | 'τς'=>'400', 110 | 'φ'=>'40', 111 | 'χ'=>'40', 112 | 'ψ'=>'40', 113 | 'βρ'=>'400', 114 | 'γλ'=>'400', 115 | 'κλ'=>'400', 116 | 'κτ'=>'400', 117 | 'γκς'=>'4000', 118 | 'γκϲ'=>'4000', 119 | 'γκσ'=>'4000', 120 | 'κς'=>'600', 121 | 'κϲ'=>'600', 122 | 'κσ'=>'400', 123 | 'λς'=>'400', 124 | 'λϲ'=>'400', 125 | 'λσ'=>'400', 126 | 'μπλ'=>'4000', 127 | 'μπν'=>'4000', 128 | 'μπρ'=>'4000', 129 | 'μς'=>'400', 130 | 'μϲ'=>'400', 131 | 'μσ'=>'400', 132 | 'νς'=>'400', 133 | 'νϲ'=>'400', 134 | 'νσ'=>'400', 135 | 'ρς'=>'400', 136 | 'ρϲ'=>'400', 137 | 'ρσ'=>'400', 138 | 'σκ'=>'400', 139 | 'ϲκ'=>'400', 140 | 'στ'=>'400', 141 | 'ϲτ'=>'400', 142 | 'τλ'=>'400', 143 | 'τρ'=>'400', 144 | 'ντς'=>'4000', 145 | 'ντϲ'=>'4000', 146 | 'ντσ'=>'4000', 147 | 'φτ'=>'400', 148 | 'χτ'=>'400' 149 | ), 150 | 'all'=>array( 151 | 'α'=>'01', 152 | 'ε'=>'01', 153 | 'η'=>'01', 154 | 'ι'=>'01', 155 | 'ο'=>'01', 156 | 'υ'=>'01', 157 | 'ω'=>'01', 158 | 'ϊ'=>'01', 159 | 'ϋ'=>'01', 160 | 'ά'=>'01', 161 | 'έ'=>'01', 162 | 'ή'=>'01', 163 | 'ί'=>'01', 164 | 'ό'=>'01', 165 | 'ύ'=>'01', 166 | 'ώ'=>'01', 167 | 'ΐ'=>'01', 168 | 'ΰ'=>'01', 169 | 'αι'=>'020', 170 | 'αί'=>'020', 171 | 'άι'=>'020', 172 | 'άϊ'=>'020', 173 | 'αυ'=>'020', 174 | 'αύ'=>'020', 175 | 'άυ'=>'030', 176 | 'ει'=>'020', 177 | 'εί'=>'020', 178 | 'έι'=>'020', 179 | 'έϊ'=>'020', 180 | 'ευ'=>'020', 181 | 'εύ'=>'020', 182 | 'έυ'=>'030', 183 | 'ηυ'=>'020', 184 | 'ηύ'=>'020', 185 | 'ήυ'=>'030', 186 | 'οι'=>'020', 187 | 'οί'=>'020', 188 | 'όι'=>'020', 189 | 'όϊ'=>'020', 190 | 'ου'=>'020', 191 | 'ού'=>'020', 192 | 'όυ'=>'030', 193 | 'υι'=>'020', 194 | 'υί'=>'020', 195 | 'ύι'=>'030', 196 | 'αη'=>'020', 197 | 'αϊ'=>'020', 198 | 'αϋ'=>'020', 199 | 'εϊ'=>'020', 200 | 'εϋ'=>'020', 201 | 'οει'=>'0200', 202 | 'οη'=>'020', 203 | 'οϊ'=>'020', 204 | 'ια'=>'020', 205 | 'ιά'=>'020', 206 | 'ιε'=>'020', 207 | 'ιέ'=>'020', 208 | 'ιο'=>'020', 209 | 'ιό'=>'020', 210 | 'οϊό'=>'0330', 211 | 'ιω'=>'020', 212 | 'ιώ'=>'020', 213 | 'ηα'=>'020', 214 | 'ηά'=>'020', 215 | 'ηε'=>'020', 216 | 'ηέ'=>'020', 217 | 'ηο'=>'020', 218 | 'ηό'=>'020', 219 | 'ηω'=>'020', 220 | 'ηώ'=>'020', 221 | 'υα'=>'020', 222 | 'υά'=>'020', 223 | 'υο'=>'020', 224 | 'υό'=>'020', 225 | 'υω'=>'020', 226 | 'υώ'=>'020', 227 | '\''=>'40', 228 | 'ʼ'=>'40', 229 | '᾿'=>'40', 230 | 'β\''=>'400', 231 | 'βʼ'=>'400', 232 | 'β᾿'=>'400', 233 | 'γ\''=>'400', 234 | 'γʼ'=>'400', 235 | 'γ᾿'=>'400', 236 | 'δ\''=>'400', 237 | 'δʼ'=>'400', 238 | 'δ᾿'=>'400', 239 | 'ζ\''=>'400', 240 | 'ζʼ'=>'400', 241 | 'ζ᾿'=>'400', 242 | 'θ\''=>'400', 243 | 'θʼ'=>'400', 244 | 'θ᾿'=>'400', 245 | 'κ\''=>'400', 246 | 'κʼ'=>'400', 247 | 'κ᾿'=>'400', 248 | 'λ\''=>'400', 249 | 'λʼ'=>'400', 250 | 'λ᾿'=>'400', 251 | 'μ\''=>'400', 252 | 'μʼ'=>'400', 253 | 'μ᾿'=>'400', 254 | 'μπ\''=>'4000', 255 | 'μπʼ'=>'4000', 256 | 'μπ᾿'=>'4000', 257 | 'ν\''=>'400', 258 | 'νʼ'=>'400', 259 | 'ν᾿'=>'400', 260 | 'ντ\''=>'4000', 261 | 'ντ’'=>'4000', 262 | 'ντ᾿'=>'4000', 263 | 'ξ\''=>'400', 264 | 'ξʼ'=>'400', 265 | 'ξ᾿'=>'400', 266 | 'π\''=>'400', 267 | 'πʼ'=>'400', 268 | 'π᾿'=>'400', 269 | 'ρ\''=>'400', 270 | 'ρʼ'=>'400', 271 | 'ρ᾿'=>'400', 272 | 'σ\''=>'400', 273 | 'σʼ'=>'400', 274 | 'σ᾿'=>'400', 275 | 'ϲ\''=>'400', 276 | 'ϲʼ'=>'400', 277 | 'ϲ᾿'=>'400', 278 | 'τ\''=>'400', 279 | 'τʼ'=>'400', 280 | 'τ᾿'=>'400', 281 | 'τζ\''=>'4000', 282 | 'τζʼ'=>'4000', 283 | 'τζ᾿'=>'4000', 284 | 'τσ\''=>'4000', 285 | 'τσʼ'=>'4000', 286 | 'τσ᾽'=>'4000', 287 | 'τϲ\''=>'4000', 288 | 'τϲʼ'=>'4000', 289 | 'τϲ᾿'=>'4000', 290 | 'φ\''=>'400', 291 | 'φʼ'=>'400', 292 | 'φ᾿'=>'400', 293 | 'χ\''=>'400', 294 | 'χʼ'=>'400', 295 | 'χ᾿'=>'400', 296 | 'ψ\''=>'400', 297 | 'ψʼ'=>'400', 298 | 'ψ᾿'=>'400', 299 | 'ββ'=>'410', 300 | 'γγ'=>'410', 301 | 'δδ'=>'410', 302 | 'ζζ'=>'410', 303 | 'θθ'=>'410', 304 | 'κκ'=>'410', 305 | 'λλ'=>'410', 306 | 'μμ'=>'410', 307 | 'νν'=>'410', 308 | 'ππ'=>'410', 309 | 'ρρ'=>'410', 310 | 'σσ'=>'410', 311 | 'ϲϲ'=>'410', 312 | 'ττ'=>'410', 313 | 'φφ'=>'410', 314 | 'χχ'=>'410', 315 | 'ψψ'=>'410', 316 | 'βζ'=>'410', 317 | 'βθ'=>'410', 318 | 'βκ'=>'410', 319 | 'βμ'=>'410', 320 | 'βν'=>'410', 321 | 'βξ'=>'410', 322 | 'βπ'=>'410', 323 | 'βσ'=>'410', 324 | 'βϲ'=>'410', 325 | 'βτ'=>'410', 326 | 'βφ'=>'410', 327 | 'βχ'=>'410', 328 | 'βψ'=>'410', 329 | 'γβ'=>'410', 330 | 'γζ'=>'410', 331 | 'γθ'=>'410', 332 | 'γμ'=>'410', 333 | 'ργμ'=>'4520', 334 | 'γξ'=>'410', 335 | 'γπ'=>'410', 336 | 'γσ'=>'410', 337 | 'γϲ'=>'410', 338 | 'γτ'=>'410', 339 | 'γφ'=>'410', 340 | 'γχ'=>'410', 341 | 'γψ'=>'410', 342 | 'δβ'=>'410', 343 | 'δγ'=>'410', 344 | 'δζ'=>'410', 345 | 'δθ'=>'410', 346 | 'δκ'=>'410', 347 | 'δλ'=>'410', 348 | 'δξ'=>'410', 349 | 'δπ'=>'410', 350 | 'δσ'=>'410', 351 | 'δϲ'=>'410', 352 | 'δτ'=>'410', 353 | 'δφ'=>'410', 354 | 'δχ'=>'410', 355 | 'δψ'=>'410', 356 | 'ζβ'=>'410', 357 | 'ζγ'=>'410', 358 | 'ζδ'=>'410', 359 | 'ζθ'=>'410', 360 | 'ζκ'=>'410', 361 | 'ζλ'=>'410', 362 | 'ζμ'=>'410', 363 | 'τζμ'=>'0020', 364 | 'ζν'=>'410', 365 | 'ζξ'=>'410', 366 | 'ζπ'=>'410', 367 | 'ζρ'=>'410', 368 | 'ζσ'=>'410', 369 | 'ζϲ'=>'410', 370 | 'ζτ'=>'410', 371 | 'ζφ'=>'410', 372 | 'ζχ'=>'410', 373 | 'ζψ'=>'410', 374 | 'θβ'=>'410', 375 | 'θγ'=>'410', 376 | 'θδ'=>'410', 377 | 'θζ'=>'410', 378 | 'θκ'=>'410', 379 | 'θμ'=>'410', 380 | 'ρθμ'=>'4520', 381 | 'σθμ'=>'0020', 382 | 'ϲθμ'=>'0020', 383 | 'θξ'=>'410', 384 | 'θπ'=>'410', 385 | 'θσ'=>'410', 386 | 'θϲ'=>'410', 387 | 'θτ'=>'410', 388 | 'θφ'=>'410', 389 | 'θχ'=>'410', 390 | 'θψ'=>'410', 391 | 'κβ'=>'410', 392 | 'κγ'=>'410', 393 | 'κδ'=>'410', 394 | 'κζ'=>'410', 395 | 'κθ'=>'410', 396 | 'κμ'=>'410', 397 | 'λκμ'=>'4520', 398 | 'ρκμ'=>'4520', 399 | 'κξ'=>'410', 400 | 'κπ'=>'410', 401 | 'κσ'=>'410', 402 | 'κϲ'=>'410', 403 | 'κφ'=>'410', 404 | 'νκφ'=>'4520', 405 | 'κχ'=>'410', 406 | 'κψ'=>'410', 407 | 'λβ'=>'410', 408 | 'λγ'=>'410', 409 | 'λδ'=>'410', 410 | 'λζ'=>'410', 411 | 'λθ'=>'410', 412 | 'λκ'=>'410', 413 | 'λμ'=>'410', 414 | 'λν'=>'410', 415 | 'λξ'=>'410', 416 | 'λπ'=>'410', 417 | 'λρ'=>'410', 418 | 'λσ'=>'410', 419 | 'λϲ'=>'410', 420 | 'λτ'=>'410', 421 | 'λφ'=>'410', 422 | 'λχ'=>'410', 423 | 'λψ'=>'410', 424 | 'μβ'=>'410', 425 | 'μγ'=>'410', 426 | 'μδ'=>'410', 427 | 'μζ'=>'410', 428 | 'μθ'=>'410', 429 | 'μκ'=>'410', 430 | 'μλ'=>'410', 431 | 'μξ'=>'410', 432 | 'μρ'=>'410', 433 | 'μσ'=>'410', 434 | 'μϲ'=>'410', 435 | 'μτ'=>'410', 436 | 'μφ'=>'410', 437 | 'μχ'=>'410', 438 | 'μψ'=>'410', 439 | 'νβ'=>'410', 440 | 'νγ'=>'410', 441 | 'νδ'=>'410', 442 | 'νζ'=>'410', 443 | 'νθ'=>'410', 444 | 'νκ'=>'410', 445 | 'νλ'=>'410', 446 | 'νμ'=>'410', 447 | 'νξ'=>'410', 448 | 'νπ'=>'410', 449 | 'νρ'=>'410', 450 | 'νσ'=>'410', 451 | 'νϲ'=>'410', 452 | 'νφ'=>'410', 453 | 'νχ'=>'410', 454 | 'νψ'=>'410', 455 | 'ξβ'=>'410', 456 | 'ξγ'=>'410', 457 | 'ξδ'=>'410', 458 | 'ξζ'=>'410', 459 | 'ξθ'=>'410', 460 | 'ξκ'=>'410', 461 | 'ξλ'=>'410', 462 | 'ξμ'=>'410', 463 | 'ξν'=>'410', 464 | 'ξπ'=>'410', 465 | 'ξρ'=>'410', 466 | 'ξσ'=>'410', 467 | 'ξϲ'=>'410', 468 | 'ξτ'=>'410', 469 | 'γξτ'=>'4520', 470 | 'ρξτ'=>'4520', 471 | 'ξφ'=>'410', 472 | 'ξχ'=>'410', 473 | 'ξψ'=>'410', 474 | 'πβ'=>'410', 475 | 'πγ'=>'410', 476 | 'πδ'=>'410', 477 | 'πζ'=>'410', 478 | 'πθ'=>'410', 479 | 'πκ'=>'410', 480 | 'πμ'=>'410', 481 | 'πξ'=>'410', 482 | 'πσ'=>'410', 483 | 'πϲ'=>'410', 484 | 'πφ'=>'410', 485 | 'πχ'=>'410', 486 | 'πψ'=>'410', 487 | 'ρβ'=>'410', 488 | 'ργ'=>'410', 489 | 'ρδ'=>'410', 490 | 'ρζ'=>'410', 491 | 'ρθ'=>'410', 492 | 'ρκ'=>'410', 493 | 'ρλ'=>'410', 494 | 'ρμ'=>'410', 495 | 'ρν'=>'410', 496 | 'ρξ'=>'410', 497 | 'ρπ'=>'410', 498 | 'ρσ'=>'410', 499 | 'ρϲ'=>'410', 500 | 'ρτ'=>'410', 501 | 'ρφ'=>'410', 502 | 'ρχ'=>'410', 503 | 'ρψ'=>'410', 504 | 'σδ'=>'410', 505 | 'ϲδ'=>'410', 506 | 'σζ'=>'410', 507 | 'ϲζ'=>'410', 508 | 'σν'=>'410', 509 | 'ϲν'=>'410', 510 | 'σξ'=>'410', 511 | 'ϲξ'=>'410', 512 | 'σρ'=>'410', 513 | 'ϲρ'=>'410', 514 | 'σψ'=>'410', 515 | 'ϲψ'=>'410', 516 | 'τβ'=>'410', 517 | 'τγ'=>'410', 518 | 'τδ'=>'410', 519 | 'τθ'=>'410', 520 | 'τκ'=>'410', 521 | 'τν'=>'410', 522 | 'τξ'=>'410', 523 | 'τπ'=>'410', 524 | 'τφ'=>'410', 525 | 'στφ'=>'0020', 526 | 'ϲτφ'=>'0020', 527 | 'τχ'=>'410', 528 | 'τψ'=>'410', 529 | 'φβ'=>'410', 530 | 'φγ'=>'410', 531 | 'φδ'=>'410', 532 | 'φζ'=>'410', 533 | 'φκ'=>'410', 534 | 'φμ'=>'410', 535 | 'φν'=>'410', 536 | 'ρφν'=>'4520', 537 | 'φξ'=>'410', 538 | 'φπ'=>'410', 539 | 'φσ'=>'410', 540 | 'φϲ'=>'410', 541 | 'φχ'=>'410', 542 | 'φψ'=>'410', 543 | 'χβ'=>'410', 544 | 'χγ'=>'410', 545 | 'χδ'=>'410', 546 | 'χζ'=>'410', 547 | 'χκ'=>'410', 548 | 'χμ'=>'410', 549 | 'ρχμ'=>'4520', 550 | 'χξ'=>'410', 551 | 'χπ'=>'410', 552 | 'χσ'=>'410', 553 | 'χϲ'=>'410', 554 | 'χφ'=>'410', 555 | 'χψ'=>'410', 556 | 'ψβ'=>'410', 557 | 'ψγ'=>'410', 558 | 'ψδ'=>'410', 559 | 'ψζ'=>'410', 560 | 'ψθ'=>'410', 561 | 'ψκ'=>'410', 562 | 'ψλ'=>'410', 563 | 'ψμ'=>'410', 564 | 'ψν'=>'410', 565 | 'ψξ'=>'410', 566 | 'ψπ'=>'410', 567 | 'ψρ'=>'410', 568 | 'ψσ'=>'410', 569 | 'ψϲ'=>'410', 570 | 'ψτ'=>'410', 571 | 'μψτ'=>'4520', 572 | 'ψφ'=>'410', 573 | 'ψχ'=>'410', 574 | 'γκφ'=>'4520', 575 | 'γκτ'=>'4100', 576 | 'μπτ'=>'4100', 577 | 'ντζ'=>'4100', 578 | 'ντσ'=>'4100', 579 | 'ντϲ'=>'4100', 580 | 'γκμπ'=>'40100', 581 | 'γκντ'=>'40100', 582 | 'γκτζ'=>'40100', 583 | 'γκτσ'=>'40100', 584 | 'γκτϲ'=>'40100', 585 | 'μπντ'=>'40100', 586 | 'μπτζ'=>'40100', 587 | 'μπτσ'=>'40100', 588 | 'μπτϲ'=>'40100', 589 | 'ντμπ'=>'40100', 590 | 'τσγκ'=>'40100', 591 | 'τϲγκ'=>'40100', 592 | 'τσμπ'=>'40100', 593 | 'τϲμπ'=>'40100', 594 | 'τσντ'=>'40100', 595 | 'τϲντ'=>'40100' 596 | ) 597 | ); 598 | 599 | ?> -------------------------------------------------------------------------------- /php-typography/lang/eu.php: -------------------------------------------------------------------------------- 1 | array(), 71 | 'end'=>array(), 72 | 'all'=>array( 73 | 'ba'=>'100', 74 | 'be'=>'100', 75 | 'bo'=>'100', 76 | 'bi'=>'100', 77 | 'bu'=>'100', 78 | 'ca'=>'100', 79 | 'ce'=>'100', 80 | 'co'=>'100', 81 | 'ci'=>'100', 82 | 'cu'=>'100', 83 | 'da'=>'100', 84 | 'de'=>'100', 85 | 'do'=>'100', 86 | 'di'=>'100', 87 | 'du'=>'100', 88 | 'fa'=>'100', 89 | 'fe'=>'100', 90 | 'fo'=>'100', 91 | 'fi'=>'100', 92 | 'fu'=>'100', 93 | 'ga'=>'100', 94 | 'ge'=>'100', 95 | 'go'=>'100', 96 | 'gi'=>'100', 97 | 'gu'=>'100', 98 | 'ja'=>'100', 99 | 'je'=>'100', 100 | 'jo'=>'100', 101 | 'ji'=>'100', 102 | 'ju'=>'100', 103 | 'ka'=>'100', 104 | 'ke'=>'100', 105 | 'ko'=>'100', 106 | 'ki'=>'100', 107 | 'ku'=>'100', 108 | 'la'=>'100', 109 | 'le'=>'100', 110 | 'lo'=>'100', 111 | 'li'=>'100', 112 | 'lu'=>'100', 113 | 'ma'=>'100', 114 | 'me'=>'100', 115 | 'mo'=>'100', 116 | 'mi'=>'100', 117 | 'mu'=>'100', 118 | 'na'=>'100', 119 | 'ne'=>'100', 120 | 'no'=>'100', 121 | 'ni'=>'100', 122 | 'nu'=>'100', 123 | 'ña'=>'100', 124 | 'ñe'=>'100', 125 | 'ño'=>'100', 126 | 'ñi'=>'100', 127 | 'ñu'=>'100', 128 | 'pa'=>'100', 129 | 'pe'=>'100', 130 | 'po'=>'100', 131 | 'pi'=>'100', 132 | 'pu'=>'100', 133 | 'qa'=>'100', 134 | 'qe'=>'100', 135 | 'qo'=>'100', 136 | 'qi'=>'100', 137 | 'qu'=>'100', 138 | 'ra'=>'100', 139 | 're'=>'100', 140 | 'ro'=>'100', 141 | 'ri'=>'100', 142 | 'ru'=>'100', 143 | 'sa'=>'100', 144 | 'se'=>'100', 145 | 'so'=>'100', 146 | 'si'=>'100', 147 | 'su'=>'100', 148 | 'ta'=>'100', 149 | 'te'=>'100', 150 | 'to'=>'100', 151 | 'ti'=>'100', 152 | 'tu'=>'100', 153 | 'va'=>'100', 154 | 've'=>'100', 155 | 'vo'=>'100', 156 | 'vi'=>'100', 157 | 'vu'=>'100', 158 | 'wa'=>'100', 159 | 'we'=>'100', 160 | 'wo'=>'100', 161 | 'wi'=>'100', 162 | 'wu'=>'100', 163 | 'xa'=>'100', 164 | 'xe'=>'100', 165 | 'xo'=>'100', 166 | 'xi'=>'100', 167 | 'xu'=>'100', 168 | 'ya'=>'100', 169 | 'ye'=>'100', 170 | 'yo'=>'100', 171 | 'yi'=>'100', 172 | 'yu'=>'100', 173 | 'za'=>'100', 174 | 'ze'=>'100', 175 | 'zo'=>'100', 176 | 'zi'=>'100', 177 | 'zu'=>'100', 178 | 'lla'=>'1200', 179 | 'lle'=>'1200', 180 | 'llo'=>'1200', 181 | 'lli'=>'1200', 182 | 'llu'=>'1200', 183 | 'rra'=>'1200', 184 | 'rre'=>'1200', 185 | 'rro'=>'1200', 186 | 'rri'=>'1200', 187 | 'rru'=>'1200', 188 | 'tsa'=>'1200', 189 | 'tse'=>'1200', 190 | 'tso'=>'1200', 191 | 'tsi'=>'1200', 192 | 'tsu'=>'1200', 193 | 'txa'=>'1200', 194 | 'txe'=>'1200', 195 | 'txo'=>'1200', 196 | 'txi'=>'1200', 197 | 'txu'=>'1200', 198 | 'tza'=>'1200', 199 | 'tze'=>'1200', 200 | 'tzo'=>'1200', 201 | 'tzi'=>'1200', 202 | 'tzu'=>'1200', 203 | 'bla'=>'1200', 204 | 'ble'=>'1200', 205 | 'blo'=>'1200', 206 | 'bli'=>'1200', 207 | 'blu'=>'1200', 208 | 'bra'=>'1200', 209 | 'bre'=>'1200', 210 | 'bro'=>'1200', 211 | 'bri'=>'1200', 212 | 'bru'=>'1200', 213 | 'dra'=>'1200', 214 | 'dre'=>'1200', 215 | 'dro'=>'1200', 216 | 'dri'=>'1200', 217 | 'dru'=>'1200', 218 | 'fla'=>'1200', 219 | 'fle'=>'1200', 220 | 'flo'=>'1200', 221 | 'fli'=>'1200', 222 | 'flu'=>'1200', 223 | 'fra'=>'1200', 224 | 'fre'=>'1200', 225 | 'fro'=>'1200', 226 | 'fri'=>'1200', 227 | 'fru'=>'1200', 228 | 'gla'=>'1200', 229 | 'gle'=>'1200', 230 | 'glo'=>'1200', 231 | 'gli'=>'1200', 232 | 'glu'=>'1200', 233 | 'gra'=>'1200', 234 | 'gre'=>'1200', 235 | 'gro'=>'1200', 236 | 'gri'=>'1200', 237 | 'gru'=>'1200', 238 | 'kla'=>'1200', 239 | 'kle'=>'1200', 240 | 'klo'=>'1200', 241 | 'kli'=>'1200', 242 | 'klu'=>'1200', 243 | 'kra'=>'1200', 244 | 'kre'=>'1200', 245 | 'kro'=>'1200', 246 | 'kri'=>'1200', 247 | 'kru'=>'1200', 248 | 'pla'=>'1200', 249 | 'ple'=>'1200', 250 | 'plo'=>'1200', 251 | 'pli'=>'1200', 252 | 'plu'=>'1200', 253 | 'pra'=>'1200', 254 | 'pre'=>'1200', 255 | 'pro'=>'1200', 256 | 'pri'=>'1200', 257 | 'pru'=>'1200', 258 | 'tra'=>'1200', 259 | 'tre'=>'1200', 260 | 'tro'=>'1200', 261 | 'tri'=>'1200', 262 | 'tru'=>'1200', 263 | 'subr'=>'00220', 264 | 'subl'=>'00220' 265 | ) 266 | ); 267 | 268 | ?> -------------------------------------------------------------------------------- /php-typography/lang/fi.php: -------------------------------------------------------------------------------- 1 | Finnish hyphenation patterns for MLPCTeX <------ 75 | % First release January -86 by Kauko Saarinen, 76 | % Computing Centre, University of Jyvaskyla, Finland 77 | % 78 | % Completely rewritten January -88. The new patterns make 79 | % much less mistakes with foreign and compound words. 80 | % The article 'Automatic Hyphenation of Finnish' 81 | % by Professor Fred Karlsson is also referred 82 | % --------------------------------------------------------- 83 | % 84 | % 8th March -89 (vers. 2.2), some vowel triples by Fred Karlsson added. 85 | % 9th January - 95: added \uccode and \lccode by Thomas Esser 86 | % 87 | % ********* Patterns may be freely distributed ********** 88 | % 89 | 90 | 91 | //============================================================================================================ 92 | 93 | */ 94 | 95 | $patgenLanguage = 'Finnish'; 96 | 97 | $patgenExceptions = array(); 98 | 99 | $patgenMaxSeg = 7; 100 | 101 | $patgen = array( 102 | 'begin'=>array( 103 | 'ä'=>'02', 104 | 'ydin'=>'00021', 105 | 'suura'=>'000212' 106 | ), 107 | 'end'=>array( 108 | 'sidea'=>'212000' 109 | ), 110 | 'all'=>array( 111 | 'ba'=>'100', 112 | 'be'=>'100', 113 | 'bi'=>'100', 114 | 'bo'=>'100', 115 | 'bu'=>'100', 116 | 'by'=>'100', 117 | 'da'=>'100', 118 | 'de'=>'100', 119 | 'di'=>'100', 120 | 'do'=>'100', 121 | 'du'=>'100', 122 | 'dy'=>'100', 123 | 'dä'=>'100', 124 | 'dö'=>'100', 125 | 'fa'=>'100', 126 | 'fe'=>'100', 127 | 'fi'=>'100', 128 | 'fo'=>'100', 129 | 'fu'=>'100', 130 | 'fy'=>'100', 131 | 'ga'=>'100', 132 | 'ge'=>'100', 133 | 'gi'=>'100', 134 | 'go'=>'100', 135 | 'gu'=>'100', 136 | 'gy'=>'100', 137 | 'gä'=>'100', 138 | 'gö'=>'100', 139 | 'ha'=>'100', 140 | 'he'=>'100', 141 | 'hi'=>'100', 142 | 'ho'=>'100', 143 | 'hu'=>'100', 144 | 'hy'=>'100', 145 | 'hä'=>'100', 146 | 'hö'=>'100', 147 | 'ja'=>'100', 148 | 'je'=>'100', 149 | 'ji'=>'100', 150 | 'jo'=>'100', 151 | 'ju'=>'100', 152 | 'jy'=>'100', 153 | 'jä'=>'100', 154 | 'jö'=>'100', 155 | 'ka'=>'100', 156 | 'ke'=>'100', 157 | 'ki'=>'100', 158 | 'ko'=>'100', 159 | 'ku'=>'100', 160 | 'ky'=>'100', 161 | 'kä'=>'100', 162 | 'kö'=>'100', 163 | 'la'=>'100', 164 | 'le'=>'100', 165 | 'li'=>'100', 166 | 'lo'=>'100', 167 | 'lu'=>'100', 168 | 'ly'=>'100', 169 | 'lä'=>'100', 170 | 'lö'=>'100', 171 | 'ma'=>'100', 172 | 'me'=>'100', 173 | 'mi'=>'100', 174 | 'mo'=>'100', 175 | 'mu'=>'100', 176 | 'my'=>'100', 177 | 'mä'=>'100', 178 | 'mö'=>'100', 179 | 'na'=>'100', 180 | 'ne'=>'100', 181 | 'ni'=>'100', 182 | 'no'=>'100', 183 | 'nu'=>'100', 184 | 'ny'=>'100', 185 | 'nä'=>'100', 186 | 'nö'=>'100', 187 | 'pa'=>'100', 188 | 'pe'=>'100', 189 | 'pi'=>'100', 190 | 'po'=>'100', 191 | 'pu'=>'100', 192 | 'py'=>'100', 193 | 'pä'=>'100', 194 | 'pö'=>'100', 195 | 'ra'=>'100', 196 | 're'=>'100', 197 | 'ri'=>'100', 198 | 'ro'=>'100', 199 | 'ru'=>'100', 200 | 'ry'=>'100', 201 | 'rä'=>'100', 202 | 'rö'=>'100', 203 | 'sa'=>'100', 204 | 'se'=>'100', 205 | 'si'=>'100', 206 | 'so'=>'100', 207 | 'su'=>'100', 208 | 'sy'=>'100', 209 | 'sä'=>'100', 210 | 'sö'=>'100', 211 | 'ta'=>'100', 212 | 'te'=>'100', 213 | 'ti'=>'100', 214 | 'to'=>'100', 215 | 'tu'=>'100', 216 | 'ty'=>'100', 217 | 'tä'=>'100', 218 | 'tö'=>'100', 219 | 'va'=>'100', 220 | 've'=>'100', 221 | 'vi'=>'100', 222 | 'vo'=>'100', 223 | 'vu'=>'100', 224 | 'vy'=>'100', 225 | 'vä'=>'100', 226 | 'vö'=>'100', 227 | 'str'=>'1020', 228 | 'äy'=>'020', 229 | 'ya'=>'012', 230 | 'yo'=>'012', 231 | 'oy'=>'010', 232 | 'öy'=>'020', 233 | 'uy'=>'012', 234 | 'yu'=>'012', 235 | 'öa'=>'032', 236 | 'öo'=>'032', 237 | 'äa'=>'032', 238 | 'äo'=>'032', 239 | 'äu'=>'012', 240 | 'öu'=>'012', 241 | 'aä'=>'010', 242 | 'aö'=>'010', 243 | 'oä'=>'010', 244 | 'oö'=>'010', 245 | 'uä'=>'012', 246 | 'uö'=>'012', 247 | 'ää'=>'020', 248 | 'öö'=>'020', 249 | 'äö'=>'020', 250 | 'öä'=>'020', 251 | 'aai'=>'0012', 252 | 'aae'=>'0012', 253 | 'aao'=>'0012', 254 | 'aau'=>'0012', 255 | 'eea'=>'0012', 256 | 'eei'=>'0012', 257 | 'eeu'=>'0012', 258 | 'eey'=>'0012', 259 | 'iia'=>'0012', 260 | 'iie'=>'0012', 261 | 'iio'=>'0012', 262 | 'uua'=>'0012', 263 | 'uue'=>'0012', 264 | 'uuo'=>'0012', 265 | 'uui'=>'0012', 266 | 'eaa'=>'0100', 267 | 'iaa'=>'0100', 268 | 'oaa'=>'0100', 269 | 'uaa'=>'0100', 270 | 'uee'=>'0100', 271 | 'auu'=>'0100', 272 | 'iuu'=>'0100', 273 | 'euu'=>'0100', 274 | 'ouu'=>'0100', 275 | 'ääi'=>'0010', 276 | 'ääe'=>'0010', 277 | 'ääy'=>'0030', 278 | 'iää'=>'0100', 279 | 'eää'=>'0100', 280 | 'yää'=>'0100', 281 | 'iöö'=>'0100', 282 | 'aei'=>'0100', 283 | 'aoi'=>'0100', 284 | 'eai'=>'0100', 285 | 'iau'=>'0100', 286 | 'yei'=>'0100', 287 | 'aia'=>'0010', 288 | 'aie'=>'0010', 289 | 'aio'=>'0010', 290 | 'aiu'=>'0010', 291 | 'aua'=>'0010', 292 | 'aue'=>'0010', 293 | 'eua'=>'0010', 294 | 'iea'=>'0010', 295 | 'ieo'=>'0010', 296 | 'iey'=>'0010', 297 | 'ioa'=>'0012', 298 | 'ioe'=>'0012', 299 | 'iua'=>'0010', 300 | 'iue'=>'0010', 301 | 'iuo'=>'0010', 302 | 'oia'=>'0010', 303 | 'oie'=>'0010', 304 | 'oio'=>'0010', 305 | 'oiu'=>'0010', 306 | 'oui'=>'0100', 307 | 'oue'=>'0010', 308 | 'ouo'=>'0010', 309 | 'uea'=>'0010', 310 | 'uie'=>'0010', 311 | 'uoa'=>'0010', 312 | 'uou'=>'0010', 313 | 'eö'=>'012', 314 | 'öe'=>'012', 315 | 'us'=>'020', 316 | 'yliop'=>'000120', 317 | 'aliav'=>'000120', 318 | 'spli'=>'10200', 319 | 'alous'=>'000001', 320 | 'keus'=>'00001', 321 | 'rtaus'=>'000001', 322 | 'sohje'=>'210000', 323 | 'sasia'=>'212000', 324 | 'asian'=>'120000', 325 | 'asiat'=>'120000', 326 | 'asioi'=>'120000', 327 | 'ras'=>'0200', 328 | 'las'=>'0200', 329 | 'sopisk'=>'2120000', 330 | 'nopet'=>'212000', 331 | 'saloi'=>'212000', 332 | 'nopist'=>'2120000', 333 | 'sopist'=>'2120000', 334 | 'sosa'=>'21200', 335 | 'nosa'=>'21200', 336 | 'alkeis'=>'0000021', 337 | 'perus'=>'000001', 338 | 'sidean'=>'2120000', 339 | 'sesity'=>'2120000', 340 | 'nedus'=>'212000', 341 | 'sajatu'=>'2100000', 342 | 'sase'=>'21000', 343 | 'sapu'=>'21000', 344 | 'syrit'=>'212000', 345 | 'syhti'=>'212000', 346 | 'notto'=>'210000', 347 | 'noton'=>'210000', 348 | 'nanto'=>'210000', 349 | 'nanno'=>'210000', 350 | 'najan'=>'212000', 351 | 'naika'=>'210000', 352 | 'nomai'=>'212000', 353 | 'nylit'=>'212000', 354 | 'salen'=>'212000', 355 | 'nalen'=>'212000', 356 | 'asiakas'=>'12000021', 357 | 'ulos'=>'00021', 358 | 'najo'=>'21200', 359 | 'sajo'=>'21200', 360 | 'bl'=>'020', 361 | 'blo'=>'1200', 362 | 'bibli'=>'000300', 363 | 'br'=>'020', 364 | 'bri'=>'1200', 365 | 'bro'=>'1200', 366 | 'bru'=>'1200', 367 | 'dr'=>'020', 368 | 'dra'=>'1200', 369 | 'fl'=>'020', 370 | 'fla'=>'1200', 371 | 'fr'=>'020', 372 | 'fra'=>'1200', 373 | 'fre'=>'1200', 374 | 'gl'=>'020', 375 | 'glo'=>'1200', 376 | 'gr'=>'020', 377 | 'gra'=>'1200', 378 | 'kl'=>'020', 379 | 'kra'=>'1200', 380 | 'kre'=>'1200', 381 | 'kri'=>'1200', 382 | 'kv'=>'120', 383 | 'kva'=>'1200', 384 | 'pl'=>'020', 385 | 'pr'=>'020', 386 | 'pro'=>'1200', 387 | 'cl'=>'020', 388 | 'qv'=>'020', 389 | 'qvi'=>'1200', 390 | 'sch'=>'0020', 391 | 'tsh'=>'0020', 392 | 'chr'=>'0020' 393 | ) 394 | ); 395 | 396 | ?> -------------------------------------------------------------------------------- /php-typography/lang/id.php: -------------------------------------------------------------------------------- 1 | , Terry Mart 19 | % 20 | % The above mentioned file should become obsolete, 21 | % and the author of the original file should preferaby modify this file instead. 22 | % 23 | % Modificatios were needed in order to support native UTF-8 engines, 24 | % but functionality (hopefully) didn't change in any way, at least not intentionally. 25 | % This file is no longer stand-alone; at least for 8-bit engines 26 | % you probably want to use loadhyph-foo.tex (which will load this file) instead. 27 | % 28 | % Modifications were done by Jonathan Kew, Mojca Miklavec & Arthur Reutenauer 29 | % with help & support from: 30 | % - Karl Berry, who gave us free hands and all resources 31 | % - Taco Hoekwater, with useful macros 32 | % - Hans Hagen, who did the unicodifisation of patterns already long before 33 | % and helped with testing, suggestions and bug reports 34 | % - Norbert Preining, who tested & integrated patterns into TeX Live 35 | % 36 | % However, the 'copyright/copyleft' owner of patterns remains the original author. 37 | % 38 | % The copyright statement of this file is thus: 39 | % 40 | % Do with this file whatever needs to be done in future for the sake of 41 | % 'a better world' as long as you respect the copyright of original file. 42 | % If you're the original author of patterns or taking over a new revolution, 43 | 44 | % plese remove all of the TUG comments & credits that we added here - 45 | % you are the Queen / the King, we are only the servants. 46 | % 47 | % If you want to change this file, rather than uploading directly to CTAN, 48 | % we would be grateful if you could send it to us (http://tug.org/tex-hyphen) 49 | % or ask for credentials for SVN repository and commit it yourself; 50 | % we will then upload the whole 'package' to CTAN. 51 | % 52 | % Before a new 'pattern-revolution' starts, 53 | % please try to follow some guidelines if possible: 54 | % 55 | % - \lccode is *forbidden*, and I really mean it 56 | % - all the patterns should be in UTF-8 57 | % - the only 'allowed' TeX commands in this file are: \patterns, \hyphenation, 58 | % and if you really cannot do without, also \input and \message 59 | % - in particular, please no \catcode or \lccode changes, 60 | % they belong to loadhyph-foo.tex, 61 | % and no \lefthyphenmin and \righthyphenmin, 62 | % they have no influence here and belong elsewhere 63 | % - \begingroup and/or \endinput is not needed 64 | % - feel free to do whatever you want inside comments 65 | % 66 | % We know that TeX is extremely powerful, but give a stupid parser 67 | % at least a chance to read your patterns. 68 | % 69 | % For more unformation see 70 | % 71 | % http://tug.org/tex-hyphen 72 | % 73 | %------------------------------------------------------------------------------ 74 | % 75 | % inhyph.tex 76 | % Version 1.3 19-SEP-1997 77 | % 78 | % Hyphenation patterns for bahasa indonesia (probably also usable 79 | % for bahasa melayu) 80 | % 81 | % (c) Copyright 1996, 1997 Jörg Knappen and Terry Mart 82 | % 83 | % This patterns are free software according to the GNU General Public 84 | % licence version 2, June 1991. 85 | % 86 | % Please read the GNU licence for details. If you don't receive a GNU 87 | % licence with these patterns, you can obtain it from 88 | % 89 | % Free Software Foundation, Inc. 90 | % 675 Mass Ave, Cambridge, MA 02139, USA 91 | % 92 | % If you make any changes to this file, please rename it so that it 93 | % cannot be confused with the original one, and change the contact 94 | % address for bug reports and suggestions. 95 | % 96 | % For bug reports, improvements, and suggestions, contact 97 | % 98 | % Jörg Knappen 99 | % jk Unternehmensberatung 100 | % Barbarossaring 43 101 | % 55118 Mainz 102 | % 103 | % knappen@vkpmzd.kph.uni-mainz.de 104 | % 105 | % or: 106 | % Terry Mart 107 | % 108 | % Institut fuer Kernphysik 109 | % Universitaet Mainz 110 | % 55099 Mainz 111 | % Germany 112 | % 113 | % phone : +49 6131 395174 114 | % fax : +49 6131 395474 115 | % email : mart@kph.uni-mainz.de 116 | % 117 | %*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%* 118 | % 119 | % The patterns are best used with the following parameters 120 | % 121 | % \lefthyphenmin=2 \righthyphenmin=2 % 122 | % 123 | %*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%*%* 124 | 125 | 126 | //============================================================================================================ 127 | 128 | */ 129 | 130 | $patgenLanguage = 'Indonesian'; 131 | 132 | $patgenExceptions = array( 133 | 'berabe'=>'be-ra-be', 134 | 'berahi'=>'be-ra-hi', 135 | 'berak'=>'be-rak', 136 | 'beranda'=>'be-ran-da', 137 | 'berandal'=>'be-ran-dal', 138 | 'berang'=>'be-rang', 139 | 'berangasan'=>'be-ra-ngas-an', 140 | 'berangsang'=>'be-rang-sang', 141 | 'berangus'=>'be-ra-ngus', 142 | 'berani'=>'be-ra-ni', 143 | 'berantakan'=>'be-ran-tak-an', 144 | 'berantam'=>'be-ran-tam', 145 | 'berantas'=>'be-ran-tas', 146 | 'berapa'=>'be-ra-pa', 147 | 'beras'=>'be-ras', 148 | 'berendeng'=>'be-ren-deng', 149 | 'berengut'=>'be-re-ngut', 150 | 'bererot'=>'be-re-rot', 151 | 'beres'=>'be-res', 152 | 'berewok'=>'be-re-wok', 153 | 'beri'=>'be-ri', 154 | 'beringas'=>'be-ri-ngas', 155 | 'berisik'=>'be-ri-sik', 156 | 'berita'=>'be-ri-ta', 157 | 'berok'=>'be-rok', 158 | 'berondong'=>'be-ron-dong', 159 | 'berontak'=>'be-ron-tak', 160 | 'berudu'=>'be-ru-du', 161 | 'beruk'=>'be-ruk', 162 | 'beruntun'=>'be-run-tun', 163 | 'pengekspor'=>'peng-eks-por', 164 | 'pengimpor'=>'peng-im-por', 165 | 'tera'=>'te-ra', 166 | 'terang'=>'te-rang', 167 | 'teras'=>'te-ras', 168 | 'terasi'=>'te-ra-si', 169 | 'teratai'=>'te-ra-tai', 170 | 'terawang'=>'te-ra-wang', 171 | 'teraweh'=>'te-ra-weh', 172 | 'teriak'=>'te-ri-ak', 173 | 'terigu'=>'te-ri-gu', 174 | 'terik'=>'te-rik', 175 | 'terima'=>'te-ri-ma', 176 | 'teripang'=>'te-ri-pang', 177 | 'terobos'=>'te-ro-bos', 178 | 'terobosan'=>'te-ro-bos-an', 179 | 'teromol'=>'te-ro-mol', 180 | 'terompah'=>'te-rom-pah', 181 | 'terompet'=>'te-rom-pet', 182 | 'teropong'=>'te-ro-pong', 183 | 'terowongan'=>'te-ro-wong-an', 184 | 'terubuk'=>'te-ru-buk', 185 | 'teruna'=>'te-ru-na', 186 | 'terus'=>'te-rus', 187 | 'terusi'=>'te-ru-si' 188 | ); 189 | 190 | $patgenMaxSeg = 6; 191 | 192 | $patgen = array( 193 | 'begin'=>array( 194 | 'ber'=>'0023', 195 | 'ter'=>'0023', 196 | 'meng'=>'00203', 197 | 'per'=>'0023', 198 | 'atau'=>'02020', 199 | 'tangan'=>'0030400', 200 | 'lengan'=>'0030400', 201 | 'jangan'=>'0030400', 202 | 'mangan'=>'0030400', 203 | 'pangan'=>'0030400', 204 | 'ringan'=>'0030400', 205 | 'dengan'=>'0030400' 206 | ), 207 | 'end'=>array( 208 | 'ng'=>'200', 209 | 'ny'=>'200', 210 | 'ban'=>'2100', 211 | 'can'=>'2100', 212 | 'dan'=>'2100', 213 | 'fan'=>'2100', 214 | 'gan'=>'2100', 215 | 'han'=>'2100', 216 | 'jan'=>'2100', 217 | 'kan'=>'2100', 218 | 'lan'=>'2100', 219 | 'man'=>'2100', 220 | 'ngan'=>'20100', 221 | 'nan'=>'2100', 222 | 'pan'=>'2100', 223 | 'ran'=>'2100', 224 | 'san'=>'2100', 225 | 'tan'=>'2100', 226 | 'van'=>'2100', 227 | 'zan'=>'2100', 228 | 'an'=>'300' 229 | ), 230 | 'all'=>array( 231 | 'ck'=>'210', 232 | 'cn'=>'210', 233 | 'dk'=>'210', 234 | 'dn'=>'210', 235 | 'dp'=>'210', 236 | 'fd'=>'210', 237 | 'fk'=>'210', 238 | 'fn'=>'210', 239 | 'ft'=>'210', 240 | 'gg'=>'210', 241 | 'gk'=>'210', 242 | 'gn'=>'210', 243 | 'hk'=>'210', 244 | 'hl'=>'210', 245 | 'hm'=>'210', 246 | 'hn'=>'210', 247 | 'hw'=>'210', 248 | 'jk'=>'210', 249 | 'jn'=>'210', 250 | 'kb'=>'210', 251 | 'kk'=>'210', 252 | 'km'=>'210', 253 | 'kn'=>'210', 254 | 'kr'=>'210', 255 | 'ks'=>'210', 256 | 'kt'=>'210', 257 | 'lb'=>'210', 258 | 'lf'=>'210', 259 | 'lg'=>'210', 260 | 'lh'=>'210', 261 | 'lk'=>'210', 262 | 'lm'=>'210', 263 | 'ln'=>'210', 264 | 'ls'=>'210', 265 | 'lt'=>'210', 266 | 'lq'=>'210', 267 | 'mb'=>'210', 268 | 'mk'=>'210', 269 | 'ml'=>'210', 270 | 'mm'=>'210', 271 | 'mn'=>'210', 272 | 'mp'=>'210', 273 | 'mr'=>'210', 274 | 'ms'=>'210', 275 | 'nc'=>'210', 276 | 'nd'=>'210', 277 | 'nf'=>'210', 278 | 'nj'=>'210', 279 | 'nk'=>'210', 280 | 'nn'=>'210', 281 | 'np'=>'210', 282 | 'ns'=>'210', 283 | 'nt'=>'210', 284 | 'nv'=>'210', 285 | 'pk'=>'210', 286 | 'pn'=>'210', 287 | 'pp'=>'210', 288 | 'pr'=>'210', 289 | 'pt'=>'210', 290 | 'rb'=>'210', 291 | 'rc'=>'210', 292 | 'rf'=>'210', 293 | 'rg'=>'210', 294 | 'rh'=>'210', 295 | 'rj'=>'210', 296 | 'rk'=>'210', 297 | 'rl'=>'210', 298 | 'rm'=>'210', 299 | 'rn'=>'210', 300 | 'rp'=>'210', 301 | 'rr'=>'210', 302 | 'rs'=>'210', 303 | 'rt'=>'210', 304 | 'rw'=>'210', 305 | 'ry'=>'210', 306 | 'sb'=>'210', 307 | 'sk'=>'210', 308 | 'sl'=>'210', 309 | 'sm'=>'210', 310 | 'sn'=>'210', 311 | 'sp'=>'210', 312 | 'sr'=>'210', 313 | 'ss'=>'210', 314 | 'st'=>'210', 315 | 'sw'=>'210', 316 | 'tk'=>'210', 317 | 'tl'=>'210', 318 | 'tn'=>'210', 319 | 'tt'=>'210', 320 | 'wt'=>'210', 321 | 'ngg'=>'2010', 322 | 'ngh'=>'2010', 323 | 'ngk'=>'2010', 324 | 'ngn'=>'2010', 325 | 'ngs'=>'2010', 326 | 'nst'=>'2320', 327 | 'ion'=>'0210', 328 | 'air'=>'0200', 329 | 'bagai'=>'101020' 330 | ) 331 | ); 332 | 333 | ?> -------------------------------------------------------------------------------- /php-typography/lang/pt.php: -------------------------------------------------------------------------------- 1 | , J.Joao Dias Almeida 19 | % 20 | % The above mentioned file should become obsolete, 21 | % and the author of the original file should preferaby modify this file instead. 22 | % 23 | % Modificatios were needed in order to support native UTF-8 engines, 24 | % but functionality (hopefully) didn't change in any way, at least not intentionally. 25 | % This file is no longer stand-alone; at least for 8-bit engines 26 | % you probably want to use loadhyph-foo.tex (which will load this file) instead. 27 | % 28 | % Modifications were done by Jonathan Kew, Mojca Miklavec & Arthur Reutenauer 29 | % with help & support from: 30 | % - Karl Berry, who gave us free hands and all resources 31 | % - Taco Hoekwater, with useful macros 32 | % - Hans Hagen, who did the unicodifisation of patterns already long before 33 | % and helped with testing, suggestions and bug reports 34 | % - Norbert Preining, who tested & integrated patterns into TeX Live 35 | % 36 | % However, the 'copyright/copyleft' owner of patterns remains the original author. 37 | % 38 | % The copyright statement of this file is thus: 39 | % 40 | % Do with this file whatever needs to be done in future for the sake of 41 | % 'a better world' as long as you respect the copyright of original file. 42 | % If you're the original author of patterns or taking over a new revolution, 43 | % plese remove all of the TUG comments & credits that we added here - 44 | % you are the Queen / the King, we are only the servants. 45 | % 46 | % If you want to change this file, rather than uploading directly to CTAN, 47 | % we would be grateful if you could send it to us (http://tug.org/tex-hyphen) 48 | % or ask for credentials for SVN repository and commit it yourself; 49 | % we will then upload the whole 'package' to CTAN. 50 | % 51 | % Before a new 'pattern-revolution' starts, 52 | % please try to follow some guidelines if possible: 53 | % 54 | % - \lccode is *forbidden*, and I really mean it 55 | % - all the patterns should be in UTF-8 56 | % - the only 'allowed' TeX commands in this file are: \patterns, \hyphenation, 57 | % and if you really cannot do without, also \input and \message 58 | % - in particular, please no \catcode or \lccode changes, 59 | % they belong to loadhyph-foo.tex, 60 | % and no \lefthyphenmin and \righthyphenmin, 61 | % they have no influence here and belong elsewhere 62 | % - \begingroup and/or \endinput is not needed 63 | % - feel free to do whatever you want inside comments 64 | % 65 | % We know that TeX is extremely powerful, but give a stupid parser 66 | % at least a chance to read your patterns. 67 | % 68 | % For more unformation see 69 | % 70 | % http://tug.org/tex-hyphen 71 | % 72 | %------------------------------------------------------------------------------ 73 | % 74 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 75 | % The Portuguese TeX hyphenation table. 76 | % (C) 1996 by Pedro J. de Rezende (rezende@dcc.unicamp.br) 77 | % and J.Joao Dias Almeida (jj@di.uminho.pt) 78 | % Version: 1.2 Release date: 21/07/96 79 | % 80 | % (C) 1994 by Pedro J. de Rezende (rezende@dcc.unicamp.br) 81 | % Version: 1.1 Release date: 04/12/94 82 | % 83 | % (C) 1987 by Pedro J. de Rezende 84 | % Version: 1.0 Release date: 02/13/87 85 | % 86 | % ----------------------------------------------------------------- 87 | % IMPORTANT NOTICE: 88 | % 89 | % This program can be redistributed and/or modified under the terms 90 | % of the LaTeX Project Public License Distributed from CTAN 91 | % archives in directory macros/latex/base/lppl.txt; either 92 | % version 1 of the License, or any later version. 93 | % ----------------------------------------------------------------- 94 | % Remember! If you *must* change it, then call the resulting file 95 | % something else and attach your name to your *documented* changes. 96 | % ====================================================================== 97 | 98 | 99 | //============================================================================================================ 100 | 101 | */ 102 | 103 | $patgenLanguage = 'Portuguese'; 104 | 105 | $patgenExceptions = array( 106 | 'hardware'=>'hard-ware', 107 | 'software'=>'soft-ware' 108 | ); 109 | 110 | $patgenMaxSeg = 3; 111 | 112 | $patgen = array( 113 | 'begin'=>array(), 114 | 'end'=>array(), 115 | 'all'=>array( 116 | 'bl'=>'120', 117 | 'br'=>'120', 118 | 'ba'=>'100', 119 | 'be'=>'100', 120 | 'bi'=>'100', 121 | 'bo'=>'100', 122 | 'bu'=>'100', 123 | 'bá'=>'100', 124 | 'bâ'=>'100', 125 | 'bã'=>'100', 126 | 'bé'=>'100', 127 | 'bí'=>'100', 128 | 'bó'=>'100', 129 | 'bú'=>'100', 130 | 'bê'=>'100', 131 | 'bõ'=>'100', 132 | 'ch'=>'120', 133 | 'cl'=>'120', 134 | 'cr'=>'120', 135 | 'ca'=>'100', 136 | 'ce'=>'100', 137 | 'ci'=>'100', 138 | 'co'=>'100', 139 | 'cu'=>'100', 140 | 'cá'=>'100', 141 | 'câ'=>'100', 142 | 'cã'=>'100', 143 | 'cé'=>'100', 144 | 'cí'=>'100', 145 | 'có'=>'100', 146 | 'cú'=>'100', 147 | 'cê'=>'100', 148 | 'cõ'=>'100', 149 | 'ça'=>'100', 150 | 'çe'=>'100', 151 | 'çi'=>'100', 152 | 'ço'=>'100', 153 | 'çu'=>'100', 154 | 'çá'=>'100', 155 | 'çâ'=>'100', 156 | 'çã'=>'100', 157 | 'çé'=>'100', 158 | 'çí'=>'100', 159 | 'çó'=>'100', 160 | 'çú'=>'100', 161 | 'çê'=>'100', 162 | 'çõ'=>'100', 163 | 'dl'=>'120', 164 | 'dr'=>'120', 165 | 'da'=>'100', 166 | 'de'=>'100', 167 | 'di'=>'100', 168 | 'do'=>'100', 169 | 'du'=>'100', 170 | 'dá'=>'100', 171 | 'dâ'=>'100', 172 | 'dã'=>'100', 173 | 'dé'=>'100', 174 | 'dí'=>'100', 175 | 'dó'=>'100', 176 | 'dú'=>'100', 177 | 'dê'=>'100', 178 | 'dõ'=>'100', 179 | 'fl'=>'120', 180 | 'fr'=>'120', 181 | 'fa'=>'100', 182 | 'fe'=>'100', 183 | 'fi'=>'100', 184 | 'fo'=>'100', 185 | 'fu'=>'100', 186 | 'fá'=>'100', 187 | 'fâ'=>'100', 188 | 'fã'=>'100', 189 | 'fé'=>'100', 190 | 'fí'=>'100', 191 | 'fó'=>'100', 192 | 'fú'=>'100', 193 | 'fê'=>'100', 194 | 'fõ'=>'100', 195 | 'gl'=>'120', 196 | 'gr'=>'120', 197 | 'ga'=>'100', 198 | 'ge'=>'100', 199 | 'gi'=>'100', 200 | 'go'=>'100', 201 | 'gu'=>'100', 202 | 'gua'=>'1040', 203 | 'gue'=>'1040', 204 | 'gui'=>'1040', 205 | 'guo'=>'1040', 206 | 'gá'=>'100', 207 | 'gâ'=>'100', 208 | 'gã'=>'100', 209 | 'gé'=>'100', 210 | 'gí'=>'100', 211 | 'gó'=>'100', 212 | 'gú'=>'100', 213 | 'gê'=>'100', 214 | 'gõ'=>'100', 215 | 'ja'=>'100', 216 | 'je'=>'100', 217 | 'ji'=>'100', 218 | 'jo'=>'100', 219 | 'ju'=>'100', 220 | 'já'=>'100', 221 | 'jâ'=>'100', 222 | 'jã'=>'100', 223 | 'jé'=>'100', 224 | 'jí'=>'100', 225 | 'jó'=>'100', 226 | 'jú'=>'100', 227 | 'jê'=>'100', 228 | 'jõ'=>'100', 229 | 'kl'=>'120', 230 | 'kr'=>'120', 231 | 'ka'=>'100', 232 | 'ke'=>'100', 233 | 'ki'=>'100', 234 | 'ko'=>'100', 235 | 'ku'=>'100', 236 | 'ká'=>'100', 237 | 'kâ'=>'100', 238 | 'kã'=>'100', 239 | 'ké'=>'100', 240 | 'kí'=>'100', 241 | 'kó'=>'100', 242 | 'kú'=>'100', 243 | 'kê'=>'100', 244 | 'kõ'=>'100', 245 | 'lh'=>'120', 246 | 'la'=>'100', 247 | 'le'=>'100', 248 | 'li'=>'100', 249 | 'lo'=>'100', 250 | 'lu'=>'100', 251 | 'lá'=>'100', 252 | 'lâ'=>'100', 253 | 'lã'=>'100', 254 | 'lé'=>'100', 255 | 'lí'=>'100', 256 | 'ló'=>'100', 257 | 'lú'=>'100', 258 | 'lê'=>'100', 259 | 'lõ'=>'100', 260 | 'ma'=>'100', 261 | 'me'=>'100', 262 | 'mi'=>'100', 263 | 'mo'=>'100', 264 | 'mu'=>'100', 265 | 'má'=>'100', 266 | 'mâ'=>'100', 267 | 'mã'=>'100', 268 | 'mé'=>'100', 269 | 'mí'=>'100', 270 | 'mó'=>'100', 271 | 'mú'=>'100', 272 | 'mê'=>'100', 273 | 'mõ'=>'100', 274 | 'nh'=>'120', 275 | 'na'=>'100', 276 | 'ne'=>'100', 277 | 'ni'=>'100', 278 | 'no'=>'100', 279 | 'nu'=>'100', 280 | 'ná'=>'100', 281 | 'nâ'=>'100', 282 | 'nã'=>'100', 283 | 'né'=>'100', 284 | 'ní'=>'100', 285 | 'nó'=>'100', 286 | 'nú'=>'100', 287 | 'nê'=>'100', 288 | 'nõ'=>'100', 289 | 'pl'=>'120', 290 | 'pr'=>'120', 291 | 'pa'=>'100', 292 | 'pe'=>'100', 293 | 'pi'=>'100', 294 | 'po'=>'100', 295 | 'pu'=>'100', 296 | 'pá'=>'100', 297 | 'pâ'=>'100', 298 | 'pã'=>'100', 299 | 'pé'=>'100', 300 | 'pí'=>'100', 301 | 'pó'=>'100', 302 | 'pú'=>'100', 303 | 'pê'=>'100', 304 | 'põ'=>'100', 305 | 'qua'=>'1040', 306 | 'que'=>'1040', 307 | 'qui'=>'1040', 308 | 'quo'=>'1040', 309 | 'ra'=>'100', 310 | 're'=>'100', 311 | 'ri'=>'100', 312 | 'ro'=>'100', 313 | 'ru'=>'100', 314 | 'rá'=>'100', 315 | 'râ'=>'100', 316 | 'rã'=>'100', 317 | 'ré'=>'100', 318 | 'rí'=>'100', 319 | 'ró'=>'100', 320 | 'rú'=>'100', 321 | 'rê'=>'100', 322 | 'rõ'=>'100', 323 | 'sa'=>'100', 324 | 'se'=>'100', 325 | 'si'=>'100', 326 | 'so'=>'100', 327 | 'su'=>'100', 328 | 'sá'=>'100', 329 | 'sâ'=>'100', 330 | 'sã'=>'100', 331 | 'sé'=>'100', 332 | 'sí'=>'100', 333 | 'só'=>'100', 334 | 'sú'=>'100', 335 | 'sê'=>'100', 336 | 'sõ'=>'100', 337 | 'tl'=>'120', 338 | 'tr'=>'120', 339 | 'ta'=>'100', 340 | 'te'=>'100', 341 | 'ti'=>'100', 342 | 'to'=>'100', 343 | 'tu'=>'100', 344 | 'tá'=>'100', 345 | 'tâ'=>'100', 346 | 'tã'=>'100', 347 | 'té'=>'100', 348 | 'tí'=>'100', 349 | 'tó'=>'100', 350 | 'tú'=>'100', 351 | 'tê'=>'100', 352 | 'tõ'=>'100', 353 | 'vl'=>'120', 354 | 'vr'=>'120', 355 | 'va'=>'100', 356 | 've'=>'100', 357 | 'vi'=>'100', 358 | 'vo'=>'100', 359 | 'vu'=>'100', 360 | 'vá'=>'100', 361 | 'vâ'=>'100', 362 | 'vã'=>'100', 363 | 'vé'=>'100', 364 | 'ví'=>'100', 365 | 'vó'=>'100', 366 | 'vú'=>'100', 367 | 'vê'=>'100', 368 | 'võ'=>'100', 369 | 'wl'=>'120', 370 | 'wr'=>'120', 371 | 'xa'=>'100', 372 | 'xe'=>'100', 373 | 'xi'=>'100', 374 | 'xo'=>'100', 375 | 'xu'=>'100', 376 | 'xá'=>'100', 377 | 'xâ'=>'100', 378 | 'xã'=>'100', 379 | 'xé'=>'100', 380 | 'xí'=>'100', 381 | 'xó'=>'100', 382 | 'xú'=>'100', 383 | 'xê'=>'100', 384 | 'xõ'=>'100', 385 | 'za'=>'100', 386 | 'ze'=>'100', 387 | 'zi'=>'100', 388 | 'zo'=>'100', 389 | 'zu'=>'100', 390 | 'zá'=>'100', 391 | 'zâ'=>'100', 392 | 'zã'=>'100', 393 | 'zé'=>'100', 394 | 'zí'=>'100', 395 | 'zó'=>'100', 396 | 'zú'=>'100', 397 | 'zê'=>'100', 398 | 'zõ'=>'100', 399 | 'aa'=>'030', 400 | 'ae'=>'030', 401 | 'ao'=>'030', 402 | 'cc'=>'030', 403 | 'ea'=>'030', 404 | 'ee'=>'030', 405 | 'eo'=>'030', 406 | 'ia'=>'030', 407 | 'ie'=>'030', 408 | 'ii'=>'030', 409 | 'io'=>'030', 410 | 'iâ'=>'030', 411 | 'iê'=>'030', 412 | 'iô'=>'030', 413 | 'oa'=>'030', 414 | 'oe'=>'030', 415 | 'oo'=>'030', 416 | 'rr'=>'030', 417 | 'ss'=>'030', 418 | 'ua'=>'030', 419 | 'ue'=>'030', 420 | 'uo'=>'030', 421 | 'uu'=>'030', 422 | '-'=>'10' 423 | ) 424 | ); 425 | 426 | ?> -------------------------------------------------------------------------------- /php-typography/lang/sa.php: -------------------------------------------------------------------------------- 1 | array(), 43 | 'end'=>array( 44 | 'क्'=>'200', 45 | 'ख्'=>'200', 46 | 'ग्'=>'200', 47 | 'घ्'=>'200', 48 | 'ङ्'=>'200', 49 | 'च्'=>'200', 50 | 'छ्'=>'200', 51 | 'ज्'=>'200', 52 | 'झ्'=>'200', 53 | 'ञ्'=>'200', 54 | 'ट्'=>'200', 55 | 'ठ्'=>'200', 56 | 'ड्'=>'200', 57 | 'ढ्'=>'200', 58 | 'ण्'=>'200', 59 | 'त्'=>'200', 60 | 'थ्'=>'200', 61 | 'द्'=>'200', 62 | 'ध्'=>'200', 63 | 'न्'=>'200', 64 | 'प्'=>'200', 65 | 'फ्'=>'200', 66 | 'ब्'=>'200', 67 | 'भ्'=>'200', 68 | 'म्'=>'200', 69 | 'य्'=>'200', 70 | 'र्'=>'200', 71 | 'ल्'=>'200', 72 | 'ळ्'=>'200', 73 | 'व्'=>'200', 74 | 'श्'=>'200', 75 | 'ष्'=>'200', 76 | 'स्'=>'200', 77 | 'ह्'=>'200', 78 | 'र्क्'=>'20000', 79 | 'र्ट्'=>'20000', 80 | 'र्त्'=>'20000', 81 | 'र्प्'=>'20000', 82 | 'ক্'=>'200', 83 | 'খ্'=>'200', 84 | 'গ্'=>'200', 85 | 'ঘ্'=>'200', 86 | 'ঙ্'=>'200', 87 | 'চ্'=>'200', 88 | 'ছ্'=>'200', 89 | 'জ্'=>'200', 90 | 'ঝ্'=>'200', 91 | 'ঞ্'=>'200', 92 | 'ট্'=>'200', 93 | 'ঠ্'=>'200', 94 | 'ড্'=>'200', 95 | 'ড়্'=>'2000', 96 | 'ঢ্'=>'200', 97 | 'ঢ়্'=>'2000', 98 | 'ণ্'=>'200', 99 | 'ত্'=>'200', 100 | 'থ্'=>'200', 101 | 'দ্'=>'200', 102 | 'ধ্'=>'200', 103 | 'ন্'=>'200', 104 | 'প্'=>'200', 105 | 'ফ্'=>'200', 106 | 'ব্'=>'200', 107 | 'ভ্'=>'200', 108 | 'ম্'=>'200', 109 | 'য্'=>'200', 110 | 'য়্'=>'2000', 111 | 'র্'=>'200', 112 | 'ল্'=>'200', 113 | 'শ্'=>'200', 114 | 'ষ্'=>'200', 115 | 'স্'=>'200', 116 | 'হ্'=>'200', 117 | 'র্ক'=>'2000', 118 | 'র্ট'=>'2000', 119 | 'র্ত'=>'2000', 120 | 'র্প'=>'2000', 121 | 'ક્'=>'200', 122 | 'ખ્'=>'200', 123 | 'ગ્'=>'200', 124 | 'ઘ્'=>'200', 125 | 'ઙ્'=>'200', 126 | 'ચ્'=>'200', 127 | 'છ્'=>'200', 128 | 'જ્'=>'200', 129 | 'ઝ્'=>'200', 130 | 'ઞ્'=>'200', 131 | 'ટ્'=>'200', 132 | 'ઠ્'=>'200', 133 | 'ડ્'=>'200', 134 | 'ઢ્'=>'200', 135 | 'ણ્'=>'200', 136 | 'ત્'=>'200', 137 | 'થ્'=>'200', 138 | 'દ્'=>'200', 139 | 'ધ્'=>'200', 140 | 'ન્'=>'200', 141 | 'પ્'=>'200', 142 | 'ફ્'=>'200', 143 | 'બ્'=>'200', 144 | 'ભ્'=>'200', 145 | 'મ્'=>'200', 146 | 'ય્'=>'200', 147 | 'ર્'=>'200', 148 | 'લ્'=>'200', 149 | 'ળ્'=>'200', 150 | 'વ્'=>'200', 151 | 'શ્'=>'200', 152 | 'ષ્'=>'200', 153 | 'સ્'=>'200', 154 | 'હ્'=>'200', 155 | 'ર્ક'=>'2000', 156 | 'ર્ટ'=>'2000', 157 | 'ર્ત'=>'2000', 158 | 'ર્પ'=>'2000', 159 | 'ಕ್'=>'200', 160 | 'ಖ್'=>'200', 161 | 'ಗ್'=>'200', 162 | 'ಘ್'=>'200', 163 | 'ಙ್'=>'200', 164 | 'ಚ್'=>'200', 165 | 'ಛ್'=>'200', 166 | 'ಜ್'=>'200', 167 | 'ಝ್'=>'200', 168 | 'ಞ್'=>'200', 169 | 'ಟ್'=>'200', 170 | 'ಠ್'=>'200', 171 | 'ಡ್'=>'200', 172 | 'ಢ್'=>'200', 173 | 'ಣ್'=>'200', 174 | 'ತ್'=>'200', 175 | 'ಥ್'=>'200', 176 | 'ದ್'=>'200', 177 | 'ಧ್'=>'200', 178 | 'ನ್'=>'200', 179 | 'ಪ್'=>'200', 180 | 'ಫ್'=>'200', 181 | 'ಬ್'=>'200', 182 | 'ಭ್'=>'200', 183 | 'ಮ್'=>'200', 184 | 'ಯ್'=>'200', 185 | 'ರ್'=>'200', 186 | 'ಱ್'=>'200', 187 | 'ಲ್'=>'200', 188 | 'ಳ್'=>'200', 189 | 'ವ್'=>'200', 190 | 'ಶ್'=>'200', 191 | 'ಷ್'=>'200', 192 | 'ಸ್'=>'200', 193 | 'ಹ್'=>'200', 194 | 'ರ್ಕ'=>'2000', 195 | 'ರ್ಟ'=>'2000', 196 | 'ರ್ತ'=>'2000', 197 | 'ರ್ಪ'=>'2000', 198 | 'ക്'=>'200', 199 | 'ഖ്'=>'200', 200 | 'ഗ്'=>'200', 201 | 'ഘ്'=>'200', 202 | 'ങ്'=>'200', 203 | 'ച്'=>'200', 204 | 'ഛ്'=>'200', 205 | 'ജ്'=>'200', 206 | 'ഝ്'=>'200', 207 | 'ഞ്'=>'200', 208 | 'ട്'=>'200', 209 | 'ഠ്'=>'200', 210 | 'ഡ്'=>'200', 211 | 'ഢ്'=>'200', 212 | 'ണ്'=>'200', 213 | 'ത്'=>'200', 214 | 'ഥ്'=>'200', 215 | 'ദ്'=>'200', 216 | 'ധ്'=>'200', 217 | 'ന്'=>'200', 218 | 'പ്'=>'200', 219 | 'ഫ്'=>'200', 220 | 'ബ്'=>'200', 221 | 'ഭ്'=>'200', 222 | 'മ്'=>'200', 223 | 'യ്'=>'200', 224 | 'ര്'=>'200', 225 | 'റ്'=>'200', 226 | 'ല്'=>'200', 227 | 'ള്'=>'200', 228 | 'ഴ്'=>'200', 229 | 'വ്'=>'200', 230 | 'ശ്'=>'200', 231 | 'ഷ്'=>'200', 232 | 'സ്'=>'200', 233 | 'ഹ്'=>'200', 234 | 'ര്ക'=>'2000', 235 | 'ര്ട'=>'2000', 236 | 'ര്ത'=>'2000', 237 | 'ര്പ'=>'2000', 238 | 'క్'=>'200', 239 | 'ఖ్'=>'200', 240 | 'గ్'=>'200', 241 | 'ఘ్'=>'200', 242 | 'ఙ్'=>'200', 243 | 'చ్'=>'200', 244 | 'ఛ్'=>'200', 245 | 'జ్'=>'200', 246 | 'ఝ్'=>'200', 247 | 'ఞ్'=>'200', 248 | 'ట్'=>'200', 249 | 'ఠ్'=>'200', 250 | 'డ్'=>'200', 251 | 'ఢ్'=>'200', 252 | 'ణ్'=>'200', 253 | 'త్'=>'200', 254 | 'థ్'=>'200', 255 | 'ద్'=>'200', 256 | 'ధ్'=>'200', 257 | 'న్'=>'200', 258 | 'ప్'=>'200', 259 | 'ఫ్'=>'200', 260 | 'బ్'=>'200', 261 | 'భ్'=>'200', 262 | 'మ్'=>'200', 263 | 'య్'=>'200', 264 | 'ర్'=>'200', 265 | 'ఱ్'=>'200', 266 | 'ల్'=>'200', 267 | 'ళ్'=>'200', 268 | 'వ్'=>'200', 269 | 'శ్'=>'200', 270 | 'ష్'=>'200', 271 | 'స్'=>'200', 272 | 'హ్'=>'200', 273 | 'ర్క్'=>'20000', 274 | 'ర్ట్'=>'20000', 275 | 'ర్త్'=>'20000', 276 | 'ర్ప్'=>'20000' 277 | ), 278 | 'all'=>array( 279 | '‍'=>'22', 280 | '‌'=>'22', 281 | 'अ'=>'11', 282 | 'आ'=>'11', 283 | 'इ'=>'11', 284 | 'ई'=>'11', 285 | 'उ'=>'11', 286 | 'ऊ'=>'11', 287 | 'ऋ'=>'11', 288 | 'ॠ'=>'11', 289 | 'ऌ'=>'11', 290 | 'ॡ'=>'11', 291 | 'ए'=>'11', 292 | 'ऐ'=>'11', 293 | 'ओ'=>'11', 294 | 'औ'=>'11', 295 | 'ा'=>'21', 296 | 'ि'=>'21', 297 | 'ी'=>'21', 298 | 'ु'=>'21', 299 | 'ू'=>'21', 300 | 'ृ'=>'21', 301 | 'ॄ'=>'21', 302 | 'ॢ'=>'21', 303 | 'ॣ'=>'21', 304 | 'े'=>'21', 305 | 'ै'=>'21', 306 | 'ो'=>'21', 307 | 'ौ'=>'21', 308 | 'क'=>'11', 309 | 'ख'=>'11', 310 | 'ग'=>'11', 311 | 'घ'=>'11', 312 | 'ङ'=>'11', 313 | 'च'=>'11', 314 | 'छ'=>'11', 315 | 'ज'=>'11', 316 | 'झ'=>'11', 317 | 'ञ'=>'11', 318 | 'ट'=>'11', 319 | 'ठ'=>'11', 320 | 'ड'=>'11', 321 | 'ढ'=>'11', 322 | 'ण'=>'11', 323 | 'त'=>'11', 324 | 'थ'=>'11', 325 | 'द'=>'11', 326 | 'ध'=>'11', 327 | 'न'=>'11', 328 | 'प'=>'11', 329 | 'फ'=>'11', 330 | 'ब'=>'11', 331 | 'भ'=>'11', 332 | 'म'=>'11', 333 | 'य'=>'11', 334 | 'र'=>'11', 335 | 'ल'=>'11', 336 | 'ळ'=>'11', 337 | 'व'=>'11', 338 | 'श'=>'11', 339 | 'ष'=>'11', 340 | 'स'=>'11', 341 | 'ह'=>'11', 342 | 'ँ'=>'20', 343 | 'ं'=>'20', 344 | 'ः'=>'20', 345 | 'ऽ'=>'22', 346 | '॑'=>'20', 347 | '॒'=>'20', 348 | '्'=>'22', 349 | 'অ'=>'11', 350 | 'আ'=>'11', 351 | 'ই'=>'11', 352 | 'ঈ'=>'11', 353 | 'উ'=>'11', 354 | 'ঊ'=>'11', 355 | 'ঋ'=>'11', 356 | 'ৠ'=>'11', 357 | 'ঌ'=>'11', 358 | 'ৡ'=>'11', 359 | 'এ'=>'11', 360 | 'ঐ'=>'11', 361 | 'ও'=>'11', 362 | 'ঔ'=>'11', 363 | 'া'=>'21', 364 | 'ি'=>'21', 365 | 'ী'=>'21', 366 | 'ু'=>'21', 367 | 'ূ'=>'21', 368 | 'ৃ'=>'21', 369 | 'ৄ'=>'21', 370 | 'ৢ'=>'21', 371 | 'ৣ'=>'21', 372 | 'ে'=>'21', 373 | 'ৈ'=>'21', 374 | 'ো'=>'21', 375 | 'ৌ'=>'21', 376 | 'ক'=>'11', 377 | 'খ'=>'11', 378 | 'গ'=>'11', 379 | 'ঘ'=>'11', 380 | 'ঙ'=>'11', 381 | 'চ'=>'11', 382 | 'ছ'=>'11', 383 | 'জ'=>'11', 384 | 'ঝ'=>'11', 385 | 'ঞ'=>'11', 386 | 'ট'=>'11', 387 | 'ঠ'=>'11', 388 | 'ড'=>'11', 389 | 'ড়'=>'101', 390 | 'ঢ'=>'11', 391 | 'ঢ়'=>'101', 392 | 'ণ'=>'11', 393 | 'ত'=>'11', 394 | 'থ'=>'11', 395 | 'দ'=>'11', 396 | 'ধ'=>'11', 397 | 'ন'=>'11', 398 | 'প'=>'11', 399 | 'ফ'=>'11', 400 | 'ব'=>'11', 401 | 'ভ'=>'11', 402 | 'ম'=>'11', 403 | 'য'=>'11', 404 | 'য়'=>'101', 405 | 'র'=>'11', 406 | 'ল'=>'11', 407 | 'শ'=>'11', 408 | 'ষ'=>'11', 409 | 'স'=>'11', 410 | 'হ'=>'11', 411 | 'ৎ'=>'12', 412 | 'ঁ'=>'20', 413 | 'ং'=>'20', 414 | 'ঃ'=>'20', 415 | 'ঽ'=>'22', 416 | '়'=>'20', 417 | 'ৗ'=>'20', 418 | '্'=>'22', 419 | 'અ'=>'11', 420 | 'આ'=>'11', 421 | 'ઇ'=>'11', 422 | 'ઈ'=>'11', 423 | 'ઉ'=>'11', 424 | 'ઊ'=>'11', 425 | 'ઋ'=>'11', 426 | 'ૠ'=>'11', 427 | 'ઌ'=>'11', 428 | 'ૡ'=>'11', 429 | 'એ'=>'11', 430 | 'ઐ'=>'11', 431 | 'ઓ'=>'11', 432 | 'ઔ'=>'11', 433 | 'ા'=>'21', 434 | 'િ'=>'21', 435 | 'ી'=>'21', 436 | 'ુ'=>'21', 437 | 'ૂ'=>'21', 438 | 'ૃ'=>'21', 439 | 'ૄ'=>'21', 440 | 'ૢ'=>'21', 441 | 'ૣ'=>'21', 442 | 'ે'=>'21', 443 | 'ૈ'=>'21', 444 | 'ો'=>'21', 445 | 'ૌ'=>'21', 446 | 'ક'=>'11', 447 | 'ખ'=>'11', 448 | 'ગ'=>'11', 449 | 'ઘ'=>'11', 450 | 'ઙ'=>'11', 451 | 'ચ'=>'11', 452 | 'છ'=>'11', 453 | 'જ'=>'11', 454 | 'ઝ'=>'11', 455 | 'ઞ'=>'11', 456 | 'ટ'=>'11', 457 | 'ઠ'=>'11', 458 | 'ડ'=>'11', 459 | 'ઢ'=>'11', 460 | 'ણ'=>'11', 461 | 'ત'=>'11', 462 | 'થ'=>'11', 463 | 'દ'=>'11', 464 | 'ધ'=>'11', 465 | 'ન'=>'11', 466 | 'પ'=>'11', 467 | 'ફ'=>'11', 468 | 'બ'=>'11', 469 | 'ભ'=>'11', 470 | 'મ'=>'11', 471 | 'ય'=>'11', 472 | 'ર'=>'11', 473 | 'લ'=>'11', 474 | 'ળ'=>'11', 475 | 'વ'=>'11', 476 | 'શ'=>'11', 477 | 'ષ'=>'11', 478 | 'સ'=>'11', 479 | 'હ'=>'11', 480 | 'ઁ'=>'20', 481 | 'ં'=>'20', 482 | 'ઃ'=>'20', 483 | 'ઽ'=>'22', 484 | '્'=>'22', 485 | 'ಅ'=>'11', 486 | 'ಆ'=>'11', 487 | 'ಇ'=>'11', 488 | 'ಈ'=>'11', 489 | 'ಉ'=>'11', 490 | 'ಊ'=>'11', 491 | 'ಋ'=>'11', 492 | 'ೠ'=>'11', 493 | 'ಌ'=>'11', 494 | 'ೡ'=>'11', 495 | 'ಎ'=>'11', 496 | 'ಏ'=>'11', 497 | 'ಐ'=>'11', 498 | 'ಒ'=>'11', 499 | 'ಓ'=>'11', 500 | 'ಔ'=>'11', 501 | 'ಾ'=>'21', 502 | 'ಿ'=>'21', 503 | 'ೀ'=>'21', 504 | 'ು'=>'21', 505 | 'ೂ'=>'21', 506 | 'ೃ'=>'21', 507 | 'ೄ'=>'21', 508 | 'ೆ'=>'21', 509 | 'ೇ'=>'21', 510 | 'ೈ'=>'21', 511 | 'ೊ'=>'21', 512 | 'ೋ'=>'21', 513 | 'ೌ'=>'21', 514 | 'ಕ'=>'11', 515 | 'ಖ'=>'11', 516 | 'ಗ'=>'11', 517 | 'ಘ'=>'11', 518 | 'ಙ'=>'11', 519 | 'ಚ'=>'11', 520 | 'ಛ'=>'11', 521 | 'ಜ'=>'11', 522 | 'ಝ'=>'11', 523 | 'ಞ'=>'11', 524 | 'ಟ'=>'11', 525 | 'ಠ'=>'11', 526 | 'ಡ'=>'11', 527 | 'ಢ'=>'11', 528 | 'ಣ'=>'11', 529 | 'ತ'=>'11', 530 | 'ಥ'=>'11', 531 | 'ದ'=>'11', 532 | 'ಧ'=>'11', 533 | 'ನ'=>'11', 534 | 'ಪ'=>'11', 535 | 'ಫ'=>'11', 536 | 'ಬ'=>'11', 537 | 'ಭ'=>'11', 538 | 'ಮ'=>'11', 539 | 'ಯ'=>'11', 540 | 'ರ'=>'11', 541 | 'ಱ'=>'11', 542 | 'ಲ'=>'11', 543 | 'ಳ'=>'11', 544 | 'ೞ'=>'11', 545 | 'ವ'=>'11', 546 | 'ಶ'=>'11', 547 | 'ಷ'=>'11', 548 | 'ಸ'=>'11', 549 | 'ಹ'=>'11', 550 | 'ಂ'=>'20', 551 | 'ಃ'=>'20', 552 | 'ಽ'=>'22', 553 | 'ೕ'=>'20', 554 | 'ೖ'=>'20', 555 | '್'=>'22', 556 | 'അ'=>'11', 557 | 'ആ'=>'11', 558 | 'ഇ'=>'11', 559 | 'ഈ'=>'11', 560 | 'ഉ'=>'11', 561 | 'ഊ'=>'11', 562 | 'ഋ'=>'11', 563 | 'ൠ'=>'11', 564 | 'ഌ'=>'11', 565 | 'ൡ'=>'11', 566 | 'എ'=>'11', 567 | 'ഏ'=>'11', 568 | 'ഐ'=>'11', 569 | 'ഒ'=>'11', 570 | 'ഓ'=>'11', 571 | 'ഔ'=>'11', 572 | 'ാ'=>'21', 573 | 'ി'=>'21', 574 | 'ീ'=>'21', 575 | 'ു'=>'21', 576 | 'ൂ'=>'21', 577 | 'ൃ'=>'21', 578 | 'െ'=>'21', 579 | 'േ'=>'21', 580 | 'ൈ'=>'21', 581 | 'ൊ'=>'21', 582 | 'ോ'=>'21', 583 | 'ൌ'=>'21', 584 | 'ക'=>'11', 585 | 'ഖ'=>'11', 586 | 'ഗ'=>'11', 587 | 'ഘ'=>'11', 588 | 'ങ'=>'11', 589 | 'ച'=>'11', 590 | 'ഛ'=>'11', 591 | 'ജ'=>'11', 592 | 'ഝ'=>'11', 593 | 'ഞ'=>'11', 594 | 'ട'=>'11', 595 | 'ഠ'=>'11', 596 | 'ഡ'=>'11', 597 | 'ഢ'=>'11', 598 | 'ണ'=>'11', 599 | 'ത'=>'11', 600 | 'ഥ'=>'11', 601 | 'ദ'=>'11', 602 | 'ധ'=>'11', 603 | 'ന'=>'11', 604 | 'പ'=>'11', 605 | 'ഫ'=>'11', 606 | 'ബ'=>'11', 607 | 'ഭ'=>'11', 608 | 'മ'=>'11', 609 | 'യ'=>'11', 610 | 'ര'=>'11', 611 | 'റ'=>'11', 612 | 'ല'=>'11', 613 | 'ള'=>'11', 614 | 'ഴ'=>'11', 615 | 'വ'=>'11', 616 | 'ശ'=>'11', 617 | 'ഷ'=>'11', 618 | 'സ'=>'11', 619 | 'ഹ'=>'11', 620 | 'ം'=>'20', 621 | 'ഃ'=>'20', 622 | 'ൗ'=>'20', 623 | '്'=>'22', 624 | 'అ'=>'11', 625 | 'ఆ'=>'11', 626 | 'ఇ'=>'11', 627 | 'ఈ'=>'11', 628 | 'ఉ'=>'11', 629 | 'ఊ'=>'11', 630 | 'ఋ'=>'11', 631 | 'ౠ'=>'11', 632 | 'ఌ'=>'11', 633 | 'ౡ'=>'11', 634 | 'ఎ'=>'11', 635 | 'ఏ'=>'11', 636 | 'ఐ'=>'11', 637 | 'ఒ'=>'11', 638 | 'ఓ'=>'11', 639 | 'ఔ'=>'11', 640 | 'ా'=>'21', 641 | 'ి'=>'21', 642 | 'ీ'=>'21', 643 | 'ు'=>'21', 644 | 'ూ'=>'21', 645 | 'ృ'=>'21', 646 | 'ౄ'=>'21', 647 | 'ె'=>'21', 648 | 'ే'=>'21', 649 | 'ై'=>'21', 650 | 'ొ'=>'21', 651 | 'ో'=>'21', 652 | 'ౌ'=>'21', 653 | 'క'=>'11', 654 | 'ఖ'=>'11', 655 | 'గ'=>'11', 656 | 'ఘ'=>'11', 657 | 'ఙ'=>'11', 658 | 'చ'=>'11', 659 | 'ఛ'=>'11', 660 | 'జ'=>'11', 661 | 'ఝ'=>'11', 662 | 'ఞ'=>'11', 663 | 'ట'=>'11', 664 | 'ఠ'=>'11', 665 | 'డ'=>'11', 666 | 'ఢ'=>'11', 667 | 'ణ'=>'11', 668 | 'త'=>'11', 669 | 'థ'=>'11', 670 | 'ద'=>'11', 671 | 'ధ'=>'11', 672 | 'న'=>'11', 673 | 'ప'=>'11', 674 | 'ఫ'=>'11', 675 | 'బ'=>'11', 676 | 'భ'=>'11', 677 | 'మ'=>'11', 678 | 'య'=>'11', 679 | 'ర'=>'11', 680 | 'ఱ'=>'11', 681 | 'ల'=>'11', 682 | 'ళ'=>'11', 683 | 'వ'=>'11', 684 | 'శ'=>'11', 685 | 'ష'=>'11', 686 | 'స'=>'11', 687 | 'హ'=>'11', 688 | 'ఁ'=>'20', 689 | 'ం'=>'20', 690 | 'ః'=>'20', 691 | 'ౕ'=>'20', 692 | 'ౖ'=>'20', 693 | '్'=>'22' 694 | ) 695 | ); 696 | 697 | ?> -------------------------------------------------------------------------------- /php-typography/lang/tr.php: -------------------------------------------------------------------------------- 1 | 26 | % - initiative to improve Turkish patterns by S. Ekin Kocabas 27 | % - script written by Mojca Miklavec in June 2008 28 | % 29 | % Modifications: 30 | % - adapted for the use on modern UTF-8 TeX engines 31 | % - UTF-8 patterns are used 32 | % - only letters for Modern Turkish + âîû (the first one often needed, the other two don't hurt) 33 | % - if needed, support for Ottoman Turkish might be provided separately under 'ota' (not 'tr') 34 | % 35 | % Notes: 36 | % - you need to use loadhyph-tr.tex, please do not try to put \catcode-s & \lccode-s here 37 | 38 | //============================================================================================================ 39 | 40 | */ 41 | 42 | $patgenLanguage = 'Turkish'; 43 | 44 | $patgenExceptions = array(); 45 | 46 | $patgenMaxSeg = 10; 47 | 48 | $patgen = array( 49 | 'begin'=>array(), 50 | 'end'=>array( 51 | 'ecek'=>'22000' 52 | ), 53 | 'all'=>array( 54 | 'a'=>'21', 55 | 'â'=>'21', 56 | 'e'=>'21', 57 | 'ı'=>'21', 58 | 'i'=>'21', 59 | 'î'=>'21', 60 | 'o'=>'21', 61 | 'ö'=>'21', 62 | 'u'=>'21', 63 | 'ü'=>'21', 64 | 'û'=>'21', 65 | '%'=>'00', 66 | 'allow'=>'000000', 67 | 'hyphen'=>'0000000', 68 | 'either'=>'0000000', 69 | 'side'=>'00000', 70 | 'of'=>'000', 71 | 'consonants'=>'00000000000', 72 | 'b'=>'11', 73 | 'c'=>'11', 74 | 'ç'=>'11', 75 | 'd'=>'11', 76 | 'f'=>'11', 77 | 'g'=>'11', 78 | 'ğ'=>'11', 79 | 'h'=>'11', 80 | 'j'=>'11', 81 | 'k'=>'11', 82 | 'l'=>'11', 83 | 'm'=>'11', 84 | 'n'=>'11', 85 | 'p'=>'11', 86 | 'r'=>'11', 87 | 's'=>'11', 88 | 'ş'=>'11', 89 | 't'=>'11', 90 | 'v'=>'11', 91 | 'y'=>'11', 92 | 'z'=>'11', 93 | 'bb'=>'200', 94 | 'bc'=>'200', 95 | 'bç'=>'200', 96 | 'bd'=>'200', 97 | 'bf'=>'200', 98 | 'bg'=>'200', 99 | 'bğ'=>'200', 100 | 'bh'=>'200', 101 | 'bj'=>'200', 102 | 'bk'=>'200', 103 | 'bl'=>'200', 104 | 'bm'=>'200', 105 | 'bn'=>'200', 106 | 'bp'=>'200', 107 | 'br'=>'200', 108 | 'bs'=>'200', 109 | 'bş'=>'200', 110 | 'bt'=>'200', 111 | 'bv'=>'200', 112 | 'by'=>'200', 113 | 'bz'=>'200', 114 | 'cb'=>'200', 115 | 'cc'=>'200', 116 | 'cç'=>'200', 117 | 'cd'=>'200', 118 | 'cf'=>'200', 119 | 'cg'=>'200', 120 | 'cğ'=>'200', 121 | 'ch'=>'200', 122 | 'cj'=>'200', 123 | 'ck'=>'200', 124 | 'cl'=>'200', 125 | 'cm'=>'200', 126 | 'cn'=>'200', 127 | 'cp'=>'200', 128 | 'cr'=>'200', 129 | 'cs'=>'200', 130 | 'cş'=>'200', 131 | 'ct'=>'200', 132 | 'cv'=>'200', 133 | 'cy'=>'200', 134 | 'cz'=>'200', 135 | 'çb'=>'200', 136 | 'çc'=>'200', 137 | 'çç'=>'200', 138 | 'çd'=>'200', 139 | 'çf'=>'200', 140 | 'çg'=>'200', 141 | 'çğ'=>'200', 142 | 'çh'=>'200', 143 | 'çj'=>'200', 144 | 'çk'=>'200', 145 | 'çl'=>'200', 146 | 'çm'=>'200', 147 | 'çn'=>'200', 148 | 'çp'=>'200', 149 | 'çr'=>'200', 150 | 'çs'=>'200', 151 | 'çş'=>'200', 152 | 'çt'=>'200', 153 | 'çv'=>'200', 154 | 'çy'=>'200', 155 | 'çz'=>'200', 156 | 'db'=>'200', 157 | 'dc'=>'200', 158 | 'dç'=>'200', 159 | 'dd'=>'200', 160 | 'df'=>'200', 161 | 'dg'=>'200', 162 | 'dğ'=>'200', 163 | 'dh'=>'200', 164 | 'dj'=>'200', 165 | 'dk'=>'200', 166 | 'dl'=>'200', 167 | 'dm'=>'200', 168 | 'dn'=>'200', 169 | 'dp'=>'200', 170 | 'dr'=>'200', 171 | 'ds'=>'200', 172 | 'dş'=>'200', 173 | 'dt'=>'200', 174 | 'dv'=>'200', 175 | 'dy'=>'200', 176 | 'dz'=>'200', 177 | 'fb'=>'200', 178 | 'fc'=>'200', 179 | 'fç'=>'200', 180 | 'fd'=>'200', 181 | 'ff'=>'200', 182 | 'fg'=>'200', 183 | 'fğ'=>'200', 184 | 'fh'=>'200', 185 | 'fj'=>'200', 186 | 'fk'=>'200', 187 | 'fl'=>'200', 188 | 'fm'=>'200', 189 | 'fn'=>'200', 190 | 'fp'=>'200', 191 | 'fr'=>'200', 192 | 'fs'=>'200', 193 | 'fş'=>'200', 194 | 'ft'=>'200', 195 | 'fv'=>'200', 196 | 'fy'=>'200', 197 | 'fz'=>'200', 198 | 'gb'=>'200', 199 | 'gc'=>'200', 200 | 'gç'=>'200', 201 | 'gd'=>'200', 202 | 'gf'=>'200', 203 | 'gg'=>'200', 204 | 'gğ'=>'200', 205 | 'gh'=>'200', 206 | 'gj'=>'200', 207 | 'gk'=>'200', 208 | 'gl'=>'200', 209 | 'gm'=>'200', 210 | 'gn'=>'200', 211 | 'gp'=>'200', 212 | 'gr'=>'200', 213 | 'gs'=>'200', 214 | 'gş'=>'200', 215 | 'gt'=>'200', 216 | 'gv'=>'200', 217 | 'gy'=>'200', 218 | 'gz'=>'200', 219 | 'ğb'=>'200', 220 | 'ğc'=>'200', 221 | 'ğç'=>'200', 222 | 'ğd'=>'200', 223 | 'ğf'=>'200', 224 | 'ğg'=>'200', 225 | 'ğğ'=>'200', 226 | 'ğh'=>'200', 227 | 'ğj'=>'200', 228 | 'ğk'=>'200', 229 | 'ğl'=>'200', 230 | 'ğm'=>'200', 231 | 'ğn'=>'200', 232 | 'ğp'=>'200', 233 | 'ğr'=>'200', 234 | 'ğs'=>'200', 235 | 'ğş'=>'200', 236 | 'ğt'=>'200', 237 | 'ğv'=>'200', 238 | 'ğy'=>'200', 239 | 'ğz'=>'200', 240 | 'hb'=>'200', 241 | 'hc'=>'200', 242 | 'hç'=>'200', 243 | 'hd'=>'200', 244 | 'hf'=>'200', 245 | 'hg'=>'200', 246 | 'hğ'=>'200', 247 | 'hh'=>'200', 248 | 'hj'=>'200', 249 | 'hk'=>'200', 250 | 'hl'=>'200', 251 | 'hm'=>'200', 252 | 'hn'=>'200', 253 | 'hp'=>'200', 254 | 'hr'=>'200', 255 | 'hs'=>'200', 256 | 'hş'=>'200', 257 | 'ht'=>'200', 258 | 'hv'=>'200', 259 | 'hy'=>'200', 260 | 'hz'=>'200', 261 | 'jb'=>'200', 262 | 'jc'=>'200', 263 | 'jç'=>'200', 264 | 'jd'=>'200', 265 | 'jf'=>'200', 266 | 'jg'=>'200', 267 | 'jğ'=>'200', 268 | 'jh'=>'200', 269 | 'jj'=>'200', 270 | 'jk'=>'200', 271 | 'jl'=>'200', 272 | 'jm'=>'200', 273 | 'jn'=>'200', 274 | 'jp'=>'200', 275 | 'jr'=>'200', 276 | 'js'=>'200', 277 | 'jş'=>'200', 278 | 'jt'=>'200', 279 | 'jv'=>'200', 280 | 'jy'=>'200', 281 | 'jz'=>'200', 282 | 'kb'=>'200', 283 | 'kc'=>'200', 284 | 'kç'=>'200', 285 | 'kd'=>'200', 286 | 'kf'=>'200', 287 | 'kg'=>'200', 288 | 'kğ'=>'200', 289 | 'kh'=>'200', 290 | 'kj'=>'200', 291 | 'kk'=>'200', 292 | 'kl'=>'200', 293 | 'km'=>'200', 294 | 'kn'=>'200', 295 | 'kp'=>'200', 296 | 'kr'=>'200', 297 | 'ks'=>'200', 298 | 'kş'=>'200', 299 | 'kt'=>'200', 300 | 'kv'=>'200', 301 | 'ky'=>'200', 302 | 'kz'=>'200', 303 | 'lb'=>'200', 304 | 'lc'=>'200', 305 | 'lç'=>'200', 306 | 'ld'=>'200', 307 | 'lf'=>'200', 308 | 'lg'=>'200', 309 | 'lğ'=>'200', 310 | 'lh'=>'200', 311 | 'lj'=>'200', 312 | 'lk'=>'200', 313 | 'll'=>'200', 314 | 'lm'=>'200', 315 | 'ln'=>'200', 316 | 'lp'=>'200', 317 | 'lr'=>'200', 318 | 'ls'=>'200', 319 | 'lş'=>'200', 320 | 'lt'=>'200', 321 | 'lv'=>'200', 322 | 'ly'=>'200', 323 | 'lz'=>'200', 324 | 'mb'=>'200', 325 | 'mc'=>'200', 326 | 'mç'=>'200', 327 | 'md'=>'200', 328 | 'mf'=>'200', 329 | 'mg'=>'200', 330 | 'mğ'=>'200', 331 | 'mh'=>'200', 332 | 'mj'=>'200', 333 | 'mk'=>'200', 334 | 'ml'=>'200', 335 | 'mm'=>'200', 336 | 'mn'=>'200', 337 | 'mp'=>'200', 338 | 'mr'=>'200', 339 | 'ms'=>'200', 340 | 'mş'=>'200', 341 | 'mt'=>'200', 342 | 'mv'=>'200', 343 | 'my'=>'200', 344 | 'mz'=>'200', 345 | 'nb'=>'200', 346 | 'nc'=>'200', 347 | 'nç'=>'200', 348 | 'nd'=>'200', 349 | 'nf'=>'200', 350 | 'ng'=>'200', 351 | 'nğ'=>'200', 352 | 'nh'=>'200', 353 | 'nj'=>'200', 354 | 'nk'=>'200', 355 | 'nl'=>'200', 356 | 'nm'=>'200', 357 | 'nn'=>'200', 358 | 'np'=>'200', 359 | 'nr'=>'200', 360 | 'ns'=>'200', 361 | 'nş'=>'200', 362 | 'nt'=>'200', 363 | 'nv'=>'200', 364 | 'ny'=>'200', 365 | 'nz'=>'200', 366 | 'pb'=>'200', 367 | 'pc'=>'200', 368 | 'pç'=>'200', 369 | 'pd'=>'200', 370 | 'pf'=>'200', 371 | 'pg'=>'200', 372 | 'pğ'=>'200', 373 | 'ph'=>'200', 374 | 'pj'=>'200', 375 | 'pk'=>'200', 376 | 'pl'=>'200', 377 | 'pm'=>'200', 378 | 'pn'=>'200', 379 | 'pp'=>'200', 380 | 'pr'=>'200', 381 | 'ps'=>'200', 382 | 'pş'=>'200', 383 | 'pt'=>'200', 384 | 'pv'=>'200', 385 | 'py'=>'200', 386 | 'pz'=>'200', 387 | 'rb'=>'200', 388 | 'rc'=>'200', 389 | 'rç'=>'200', 390 | 'rd'=>'200', 391 | 'rf'=>'200', 392 | 'rg'=>'200', 393 | 'rğ'=>'200', 394 | 'rh'=>'200', 395 | 'rj'=>'200', 396 | 'rk'=>'200', 397 | 'rl'=>'200', 398 | 'rm'=>'200', 399 | 'rn'=>'200', 400 | 'rp'=>'200', 401 | 'rr'=>'200', 402 | 'rs'=>'200', 403 | 'rş'=>'200', 404 | 'rt'=>'200', 405 | 'rv'=>'200', 406 | 'ry'=>'200', 407 | 'rz'=>'200', 408 | 'sb'=>'200', 409 | 'sc'=>'200', 410 | 'sç'=>'200', 411 | 'sd'=>'200', 412 | 'sf'=>'200', 413 | 'sg'=>'200', 414 | 'sğ'=>'200', 415 | 'sh'=>'200', 416 | 'sj'=>'200', 417 | 'sk'=>'200', 418 | 'sl'=>'200', 419 | 'sm'=>'200', 420 | 'sn'=>'200', 421 | 'sp'=>'200', 422 | 'sr'=>'200', 423 | 'ss'=>'200', 424 | 'sş'=>'200', 425 | 'st'=>'200', 426 | 'sv'=>'200', 427 | 'sy'=>'200', 428 | 'sz'=>'200', 429 | 'şb'=>'200', 430 | 'şc'=>'200', 431 | 'şç'=>'200', 432 | 'şd'=>'200', 433 | 'şf'=>'200', 434 | 'şg'=>'200', 435 | 'şğ'=>'200', 436 | 'şh'=>'200', 437 | 'şj'=>'200', 438 | 'şk'=>'200', 439 | 'şl'=>'200', 440 | 'şm'=>'200', 441 | 'şn'=>'200', 442 | 'şp'=>'200', 443 | 'şr'=>'200', 444 | 'şs'=>'200', 445 | 'şş'=>'200', 446 | 'şt'=>'200', 447 | 'şv'=>'200', 448 | 'şy'=>'200', 449 | 'şz'=>'200', 450 | 'tb'=>'200', 451 | 'tc'=>'200', 452 | 'tç'=>'200', 453 | 'td'=>'200', 454 | 'tf'=>'200', 455 | 'tg'=>'200', 456 | 'tğ'=>'200', 457 | 'th'=>'200', 458 | 'tj'=>'200', 459 | 'tk'=>'200', 460 | 'tl'=>'200', 461 | 'tm'=>'200', 462 | 'tn'=>'200', 463 | 'tp'=>'200', 464 | 'tr'=>'200', 465 | 'ts'=>'200', 466 | 'tş'=>'200', 467 | 'tt'=>'200', 468 | 'tv'=>'200', 469 | 'ty'=>'200', 470 | 'tz'=>'200', 471 | 'vb'=>'200', 472 | 'vc'=>'200', 473 | 'vç'=>'200', 474 | 'vd'=>'200', 475 | 'vf'=>'200', 476 | 'vg'=>'200', 477 | 'vğ'=>'200', 478 | 'vh'=>'200', 479 | 'vj'=>'200', 480 | 'vk'=>'200', 481 | 'vl'=>'200', 482 | 'vm'=>'200', 483 | 'vn'=>'200', 484 | 'vp'=>'200', 485 | 'vr'=>'200', 486 | 'vs'=>'200', 487 | 'vş'=>'200', 488 | 'vt'=>'200', 489 | 'vv'=>'200', 490 | 'vy'=>'200', 491 | 'vz'=>'200', 492 | 'yb'=>'200', 493 | 'yc'=>'200', 494 | 'yç'=>'200', 495 | 'yd'=>'200', 496 | 'yf'=>'200', 497 | 'yg'=>'200', 498 | 'yğ'=>'200', 499 | 'yh'=>'200', 500 | 'yj'=>'200', 501 | 'yk'=>'200', 502 | 'yl'=>'200', 503 | 'ym'=>'200', 504 | 'yn'=>'200', 505 | 'yp'=>'200', 506 | 'yr'=>'200', 507 | 'ys'=>'200', 508 | 'yş'=>'200', 509 | 'yt'=>'200', 510 | 'yv'=>'200', 511 | 'yy'=>'200', 512 | 'yz'=>'200', 513 | 'zb'=>'200', 514 | 'zc'=>'200', 515 | 'zç'=>'200', 516 | 'zd'=>'200', 517 | 'zf'=>'200', 518 | 'zg'=>'200', 519 | 'zğ'=>'200', 520 | 'zh'=>'200', 521 | 'zj'=>'200', 522 | 'zk'=>'200', 523 | 'zl'=>'200', 524 | 'zm'=>'200', 525 | 'zn'=>'200', 526 | 'zp'=>'200', 527 | 'zr'=>'200', 528 | 'zs'=>'200', 529 | 'zş'=>'200', 530 | 'zt'=>'200', 531 | 'zv'=>'200', 532 | 'zy'=>'200', 533 | 'zz'=>'200', 534 | 'aa'=>'032', 535 | 'aâ'=>'032', 536 | 'ae'=>'032', 537 | 'aı'=>'032', 538 | 'ai'=>'032', 539 | 'aî'=>'032', 540 | 'ao'=>'032', 541 | 'aö'=>'032', 542 | 'au'=>'032', 543 | 'aü'=>'032', 544 | 'aû'=>'032', 545 | 'âa'=>'032', 546 | 'ââ'=>'032', 547 | 'âe'=>'032', 548 | 'âı'=>'032', 549 | 'âi'=>'032', 550 | 'âî'=>'032', 551 | 'âo'=>'032', 552 | 'âö'=>'032', 553 | 'âu'=>'032', 554 | 'âü'=>'032', 555 | 'âû'=>'032', 556 | 'ea'=>'032', 557 | 'eâ'=>'032', 558 | 'ee'=>'032', 559 | 'eı'=>'032', 560 | 'ei'=>'032', 561 | 'eî'=>'032', 562 | 'eo'=>'032', 563 | 'eö'=>'032', 564 | 'eu'=>'032', 565 | 'eü'=>'032', 566 | 'eû'=>'032', 567 | 'ıa'=>'032', 568 | 'ıâ'=>'032', 569 | 'ıe'=>'032', 570 | 'ıı'=>'032', 571 | 'ıi'=>'032', 572 | 'ıî'=>'032', 573 | 'ıo'=>'032', 574 | 'ıö'=>'032', 575 | 'ıu'=>'032', 576 | 'ıü'=>'032', 577 | 'ıû'=>'032', 578 | 'ia'=>'032', 579 | 'iâ'=>'032', 580 | 'ie'=>'032', 581 | 'iı'=>'032', 582 | 'ii'=>'032', 583 | 'iî'=>'032', 584 | 'io'=>'032', 585 | 'iö'=>'032', 586 | 'iu'=>'032', 587 | 'iü'=>'032', 588 | 'iû'=>'032', 589 | 'îa'=>'032', 590 | 'îâ'=>'032', 591 | 'îe'=>'032', 592 | 'îı'=>'032', 593 | 'îi'=>'032', 594 | 'îî'=>'032', 595 | 'îo'=>'032', 596 | 'îö'=>'032', 597 | 'îu'=>'032', 598 | 'îü'=>'032', 599 | 'îû'=>'032', 600 | 'oa'=>'032', 601 | 'oâ'=>'032', 602 | 'oe'=>'032', 603 | 'oı'=>'032', 604 | 'oi'=>'032', 605 | 'oî'=>'032', 606 | 'oo'=>'032', 607 | 'oö'=>'032', 608 | 'ou'=>'032', 609 | 'oü'=>'032', 610 | 'oû'=>'032', 611 | 'öa'=>'032', 612 | 'öâ'=>'032', 613 | 'öe'=>'032', 614 | 'öı'=>'032', 615 | 'öi'=>'032', 616 | 'öî'=>'032', 617 | 'öo'=>'032', 618 | 'öö'=>'032', 619 | 'öu'=>'032', 620 | 'öü'=>'032', 621 | 'öû'=>'032', 622 | 'ua'=>'032', 623 | 'uâ'=>'032', 624 | 'ue'=>'032', 625 | 'uı'=>'032', 626 | 'ui'=>'032', 627 | 'uî'=>'032', 628 | 'uo'=>'032', 629 | 'uö'=>'032', 630 | 'uu'=>'032', 631 | 'uü'=>'032', 632 | 'uû'=>'032', 633 | 'üa'=>'032', 634 | 'üâ'=>'032', 635 | 'üe'=>'032', 636 | 'üı'=>'032', 637 | 'üi'=>'032', 638 | 'üî'=>'032', 639 | 'üo'=>'032', 640 | 'üö'=>'032', 641 | 'üu'=>'032', 642 | 'üü'=>'032', 643 | 'üû'=>'032', 644 | 'ûa'=>'032', 645 | 'ûâ'=>'032', 646 | 'ûe'=>'032', 647 | 'ûı'=>'032', 648 | 'ûi'=>'032', 649 | 'ûî'=>'032', 650 | 'ûo'=>'032', 651 | 'ûö'=>'032', 652 | 'ûu'=>'032', 653 | 'ûü'=>'032', 654 | 'ûû'=>'032', 655 | 'turk'=>'00440', 656 | 'mtrak'=>'014000' 657 | ) 658 | ); 659 | ?> -------------------------------------------------------------------------------- /php-typography/lang/zh-Latn.php: -------------------------------------------------------------------------------- 1 | 19 | % 20 | % The above mentioned file should become obsolete, 21 | % and the author of the original file should preferaby modify this file instead. 22 | % 23 | % Modificatios were needed in order to support native UTF-8 engines, 24 | % but functionality (hopefully) didn't change in any way, at least not intentionally. 25 | % This file is no longer stand-alone; at least for 8-bit engines 26 | % you probably want to use loadhyph-foo.tex (which will load this file) instead. 27 | % 28 | % Modifications were done by Jonathan Kew, Mojca Miklavec & Arthur Reutenauer 29 | % with help & support from: 30 | % - Karl Berry, who gave us free hands and all resources 31 | % - Taco Hoekwater, with useful macros 32 | % - Hans Hagen, who did the unicodifisation of patterns already long before 33 | % and helped with testing, suggestions and bug reports 34 | % - Norbert Preining, who tested & integrated patterns into TeX Live 35 | % 36 | % However, the 'copyright/copyleft' owner of patterns remains the original author. 37 | % 38 | % The copyright statement of this file is thus: 39 | % 40 | % Do with this file whatever needs to be done in future for the sake of 41 | % 'a better world' as long as you respect the copyright of original file. 42 | % If you're the original author of patterns or taking over a new revolution, 43 | % plese remove all of the TUG comments & credits that we added here - 44 | % you are the Queen / the King, we are only the servants. 45 | % 46 | % If you want to change this file, rather than uploading directly to CTAN, 47 | % we would be grateful if you could send it to us (http://tug.org/tex-hyphen) 48 | % or ask for credentials for SVN repository and commit it yourself; 49 | % we will then upload the whole 'package' to CTAN. 50 | % 51 | % Before a new 'pattern-revolution' starts, 52 | % please try to follow some guidelines if possible: 53 | % 54 | % - \lccode is *forbidden*, and I really mean it 55 | % - all the patterns should be in UTF-8 56 | % - the only 'allowed' TeX commands in this file are: \patterns, \hyphenation, 57 | % and if you really cannot do without, also \input and \message 58 | % - in particular, please no \catcode or \lccode changes, 59 | % they belong to loadhyph-foo.tex, 60 | % and no \lefthyphenmin and \righthyphenmin, 61 | % they have no influence here and belong elsewhere 62 | % - \begingroup and/or \endinput is not needed 63 | % - feel free to do whatever you want inside comments 64 | % 65 | % We know that TeX is extremely powerful, but give a stupid parser 66 | % at least a chance to read your patterns. 67 | % 68 | % For more unformation see 69 | % 70 | % http://tug.org/tex-hyphen 71 | % 72 | %------------------------------------------------------------------------------ 73 | % 74 | % This is the file pyhyph.tex of the CJK package 75 | % for hyphenating Chinese pinyin syllables. 76 | % 77 | % created by Werner Lemberg 78 | % 79 | % Version 4.8.0 (22-May-2008) 80 | % 81 | % Copyright (C) 1994-2008 Werner Lemberg 82 | % 83 | % This program is free software; you can redistribute it and/or modify 84 | % it under the terms of the GNU General Public License as published by 85 | % the Free Software Foundation; either version 2 of the License, or 86 | % (at your option) any later version. 87 | % 88 | % This program is distributed in the hope that it will be useful, 89 | % but WITHOUT ANY WARRANTY; without even the implied warranty of 90 | % MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 91 | % GNU General Public License for more details. 92 | % 93 | % You should have received a copy of the GNU General Public License 94 | % along with this program in doc/COPYING; if not, write to the Free 95 | % Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, 96 | % MA 02110-1301 USA 97 | % 98 | % \message{Hyphenation patterns for unaccented pinyin syllables (CJK 4.7.0)} 99 | 100 | 101 | //============================================================================================================ 102 | 103 | */ 104 | 105 | $patgenLanguage = 'Chinese pinyin (Latin)'; 106 | 107 | $patgenExceptions = array(); 108 | 109 | $patgenMaxSeg = 2; 110 | 111 | $patgen = array( 112 | 'begin'=>array(), 113 | 'end'=>array(), 114 | 'all'=>array( 115 | 'ab'=>'010', 116 | 'ac'=>'010', 117 | 'ad'=>'010', 118 | 'af'=>'010', 119 | 'ag'=>'010', 120 | 'ah'=>'010', 121 | 'aj'=>'010', 122 | 'ak'=>'010', 123 | 'al'=>'010', 124 | 'am'=>'010', 125 | 'ap'=>'010', 126 | 'aq'=>'010', 127 | 'ar'=>'010', 128 | 'as'=>'010', 129 | 'at'=>'010', 130 | 'aw'=>'010', 131 | 'ax'=>'010', 132 | 'ay'=>'010', 133 | 'az'=>'010', 134 | 'eb'=>'010', 135 | 'ec'=>'010', 136 | 'ed'=>'010', 137 | 'ef'=>'010', 138 | 'eg'=>'010', 139 | 'eh'=>'010', 140 | 'ej'=>'010', 141 | 'ek'=>'010', 142 | 'el'=>'010', 143 | 'em'=>'010', 144 | 'ep'=>'010', 145 | 'eq'=>'010', 146 | 'es'=>'010', 147 | 'et'=>'010', 148 | 'ew'=>'010', 149 | 'ex'=>'010', 150 | 'ey'=>'010', 151 | 'ez'=>'010', 152 | 'ga'=>'100', 153 | 'gb'=>'010', 154 | 'gc'=>'010', 155 | 'gd'=>'010', 156 | 'ge'=>'100', 157 | 'gf'=>'010', 158 | 'gg'=>'010', 159 | 'gh'=>'010', 160 | 'gj'=>'010', 161 | 'gk'=>'010', 162 | 'gl'=>'010', 163 | 'gm'=>'010', 164 | 'gn'=>'010', 165 | 'go'=>'100', 166 | 'gp'=>'010', 167 | 'gq'=>'010', 168 | 'gr'=>'010', 169 | 'gs'=>'010', 170 | 'gt'=>'010', 171 | 'gu'=>'100', 172 | 'gw'=>'010', 173 | 'gx'=>'010', 174 | 'gy'=>'010', 175 | 'gz'=>'010', 176 | 'ib'=>'010', 177 | 'ic'=>'010', 178 | 'id'=>'010', 179 | 'if'=>'010', 180 | 'ig'=>'010', 181 | 'ih'=>'010', 182 | 'ij'=>'010', 183 | 'ik'=>'010', 184 | 'il'=>'010', 185 | 'im'=>'010', 186 | 'ip'=>'010', 187 | 'iq'=>'010', 188 | 'ir'=>'010', 189 | 'is'=>'010', 190 | 'it'=>'010', 191 | 'iw'=>'010', 192 | 'ix'=>'010', 193 | 'iy'=>'010', 194 | 'iz'=>'010', 195 | 'na'=>'100', 196 | 'nb'=>'010', 197 | 'nc'=>'010', 198 | 'nd'=>'010', 199 | 'ne'=>'100', 200 | 'nf'=>'010', 201 | 'nh'=>'010', 202 | 'ni'=>'100', 203 | 'nj'=>'010', 204 | 'nk'=>'010', 205 | 'nl'=>'010', 206 | 'nm'=>'010', 207 | 'nn'=>'010', 208 | 'no'=>'100', 209 | 'np'=>'010', 210 | 'nq'=>'010', 211 | 'nr'=>'010', 212 | 'ns'=>'010', 213 | 'nt'=>'010', 214 | 'nu'=>'100', 215 | 'nü'=>'100', 216 | 'nw'=>'010', 217 | 'nx'=>'010', 218 | 'ny'=>'010', 219 | 'nz'=>'010', 220 | 'ob'=>'010', 221 | 'oc'=>'010', 222 | 'od'=>'010', 223 | 'of'=>'010', 224 | 'og'=>'010', 225 | 'oh'=>'010', 226 | 'oj'=>'010', 227 | 'ok'=>'010', 228 | 'ol'=>'010', 229 | 'om'=>'010', 230 | 'op'=>'010', 231 | 'oq'=>'010', 232 | 'or'=>'010', 233 | 'os'=>'010', 234 | 'ot'=>'010', 235 | 'ow'=>'010', 236 | 'ox'=>'010', 237 | 'oy'=>'010', 238 | 'oz'=>'010', 239 | 'ra'=>'100', 240 | 'rb'=>'010', 241 | 'rc'=>'010', 242 | 'rd'=>'010', 243 | 're'=>'100', 244 | 'rf'=>'010', 245 | 'rg'=>'010', 246 | 'rh'=>'010', 247 | 'ri'=>'100', 248 | 'rj'=>'010', 249 | 'rk'=>'010', 250 | 'rl'=>'010', 251 | 'rm'=>'010', 252 | 'rn'=>'010', 253 | 'ro'=>'100', 254 | 'rp'=>'010', 255 | 'rq'=>'010', 256 | 'rr'=>'010', 257 | 'rs'=>'010', 258 | 'rt'=>'010', 259 | 'ru'=>'100', 260 | 'rw'=>'010', 261 | 'rx'=>'010', 262 | 'ry'=>'010', 263 | 'rz'=>'010', 264 | 'ub'=>'010', 265 | 'uc'=>'010', 266 | 'ud'=>'010', 267 | 'uf'=>'010', 268 | 'ug'=>'010', 269 | 'uh'=>'010', 270 | 'uj'=>'010', 271 | 'uk'=>'010', 272 | 'ul'=>'010', 273 | 'um'=>'010', 274 | 'up'=>'010', 275 | 'uq'=>'010', 276 | 'ur'=>'010', 277 | 'us'=>'010', 278 | 'ut'=>'010', 279 | 'uw'=>'010', 280 | 'ux'=>'010', 281 | 'uy'=>'010', 282 | 'uz'=>'010', 283 | 'üb'=>'010', 284 | 'üc'=>'010', 285 | 'üd'=>'010', 286 | 'üf'=>'010', 287 | 'üg'=>'010', 288 | 'üh'=>'010', 289 | 'üj'=>'010', 290 | 'ük'=>'010', 291 | 'ül'=>'010', 292 | 'üm'=>'010', 293 | 'ün'=>'010', 294 | 'üp'=>'010', 295 | 'üq'=>'010', 296 | 'ür'=>'010', 297 | 'üs'=>'010', 298 | 'üt'=>'010', 299 | 'üw'=>'010', 300 | 'üx'=>'010', 301 | 'üy'=>'010', 302 | 'üz'=>'010', 303 | "'a"=>'010', 304 | "'e"=>'010', 305 | "'o"=>'010' 306 | ) 307 | ); 308 | 309 | ?> -------------------------------------------------------------------------------- /php-typography/lang_unformatted/hyph-la.tex: -------------------------------------------------------------------------------- 1 | % This file is part of hyph-utf8 package and resulted from 2 | % semi-manual conversions of hyphenation patterns into UTF-8 in June 2008. 3 | % 4 | % Source: lahyph.tex (2007-09-03) 5 | % Author: Claudio Beccari 6 | % 7 | % The above mentioned file should become obsolete, 8 | % and the author of the original file should preferaby modify this file instead. 9 | % 10 | % Modificatios were needed in order to support native UTF-8 engines, 11 | % but functionality (hopefully) didn't change in any way, at least not intentionally. 12 | % This file is no longer stand-alone; at least for 8-bit engines 13 | % you probably want to use loadhyph-foo.tex (which will load this file) instead. 14 | % 15 | % Modifications were done by Jonathan Kew, Mojca Miklavec & Arthur Reutenauer 16 | % with help & support from: 17 | % - Karl Berry, who gave us free hands and all resources 18 | % - Taco Hoekwater, with useful macros 19 | % - Hans Hagen, who did the unicodifisation of patterns already long before 20 | % and helped with testing, suggestions and bug reports 21 | % - Norbert Preining, who tested & integrated patterns into TeX Live 22 | % 23 | % However, the "copyright/copyleft" owner of patterns remains the original author. 24 | % 25 | % The copyright statement of this file is thus: 26 | % 27 | % Do with this file whatever needs to be done in future for the sake of 28 | % "a better world" as long as you respect the copyright of original file. 29 | % If you're the original author of patterns or taking over a new revolution, 30 | % plese remove all of the TUG comments & credits that we added here - 31 | % you are the Queen / the King, we are only the servants. 32 | % 33 | % If you want to change this file, rather than uploading directly to CTAN, 34 | % we would be grateful if you could send it to us (http://tug.org/tex-hyphen) 35 | % or ask for credentials for SVN repository and commit it yourself; 36 | % we will then upload the whole "package" to CTAN. 37 | % 38 | % Before a new "pattern-revolution" starts, 39 | % please try to follow some guidelines if possible: 40 | % 41 | % - \lccode is *forbidden*, and I really mean it 42 | % - all the patterns should be in UTF-8 43 | % - the only "allowed" TeX commands in this file are: \patterns, \hyphenation, 44 | % and if you really cannot do without, also \input and \message 45 | % - in particular, please no \catcode or \lccode changes, 46 | % they belong to loadhyph-foo.tex, 47 | % and no \lefthyphenmin and \righthyphenmin, 48 | % they have no influence here and belong elsewhere 49 | % - \begingroup and/or \endinput is not needed 50 | % - feel free to do whatever you want inside comments 51 | % 52 | % We know that TeX is extremely powerful, but give a stupid parser 53 | % at least a chance to read your patterns. 54 | % 55 | % For more unformation see 56 | % 57 | % http://tug.org/tex-hyphen 58 | % 59 | %------------------------------------------------------------------------------ 60 | % 61 | % ********** lahyph.tex ************* 62 | % 63 | % Copyright 1999- 2001 Claudio Beccari 64 | % [latin hyphenation patterns] 65 | % 66 | % ----------------------------------------------------------------- 67 | % IMPORTANT NOTICE: 68 | % 69 | % This program can be redistributed and/or modified under the terms 70 | % of the LaTeX Project Public License Distributed from CTAN 71 | % archives in directory macros/latex/base/lppl.txt; either 72 | % version 1 of the License, or any later version. 73 | % ----------------------------------------------------------------- 74 | % 75 | % Patterns for the latin language mainly in modern spelling 76 | % (u when u is needed and v when v is needed); medieval spelling 77 | % with the ligatures \ae and \oe and the (uncial) lowercase `v' 78 | % written as a `u' is also supported; apparently there is no conflict 79 | % between the patterns of modern Latin and those of medieval Latin. 80 | % 81 | % Support for font encoding OT1 with 128-character set and 82 | % for font encoding T1 with a 256-character set. 83 | % 84 | % Prepared by Claudio Beccari 85 | % Politecnico di Torino 86 | % Torino, Italy 87 | % e-mail beccari@polito.it 88 | % 89 | % 1999/03/10 Integration of `lahyph7.tex' and `lahyph8.tex' into 90 | % one file `lahyph.tex' supporting fonts in OT1 and T1 encoding by 91 | % Bernd Raichle using the macro code from `dehypht.tex' (this code 92 | % is Copyright 1993,1994,1998,1999 Bernd Raichle/DANTE e.V.). 93 | % 94 | % 95 | % \versionnumber{3.1} \versiondate{2007/04/16} 96 | % 97 | % Information after \endinput. 98 | % 99 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 100 | % 101 | % \message{Latin Hyphenation Patterns `lahyph' Version 3.1 <2007/04/16>} 102 | % 103 | % 104 | \patterns{% 105 | 2'2 106 | .a2b3l 107 | .anti1 .anti3m2n 108 | .circu2m1 109 | .co2n1iun 110 | .di2s3cine 111 | .e2x1 112 | .o2b3 113 | .para1i .para1u 114 | .su2b3lu .su2b3r 115 | 2s3que. 2s3dem. 116 | 3p2sic 117 | 3p2neu 118 | æ1 œ1 119 | a1ia a1ie a1io a1iu ae1a ae1o ae1u 120 | e1iu 121 | io1i 122 | o1ia o1ie o1io o1iu 123 | uo3u 124 | 1b 2bb 2bd b2l 2bm 2bn b2r 2bt 2bs 2b. 125 | 1c 2cc c2h2 c2l 2cm 2cn 2cq c2r 2cs 2ct 2cz 2c. 126 | 1d 2dd 2dg 2dm d2r 2ds 2dv 2d. 127 | 1f 2ff f2l 2fn f2r 2ft 2f. 128 | 1g 2gg 2gd 2gf g2l 2gm g2n g2r 2gs 2gv 2g. 129 | 1h 2hp 2ht 2h. 130 | 1j 131 | 1k 2kk k2h2 132 | 1l 2lb 2lc 2ld 2lf l3f2t 2lg 2lk 2ll 2lm 2ln 2lp 2lq 2lr 133 | 2ls 2lt 2lv 2l. 134 | 1m 2mm 2mb 2mp 2ml 2mn 2mq 2mr 2mv 2m. 135 | 1n 2nb 2nc 2nd 2nf 2ng 2nl 2nm 2nn 2np 2nq 2nr 2ns 136 | n2s3m n2s3f 2nt 2nv 2nx 2n. 137 | 1p p2h p2l 2pn 2pp p2r 2ps 2pt 2pz 2php 2pht 2p. 138 | 1qu2 139 | 1r 2rb 2rc 2rd 2rf 2rg r2h 2rl 2rm 2rn 2rp 2rq 2rr 2rs 2rt 140 | 2rv 2rz 2r. 141 | 1s2 2s3ph 2s3s 2stb 2stc 2std 2stf 2stg 2st3l 2stm 2stn 2stp 2stq 142 | 2sts 2stt 2stv 2s. 2st. 143 | 1t 2tb 2tc 2td 2tf 2tg t2h t2l t2r 2tm 2tn 2tp 2tq 2tt 144 | 2tv 2t. 145 | 1v v2l v2r 2vv 146 | 1x 2xt 2xx 2x. 147 | 1z 2z. 148 | % For medieval Latin 149 | a1ua a1ue a1ui a1uo a1uu 150 | e1ua e1ue e1ui e1uo e1uu 151 | i1ua i1ue i1ui i1uo i1uu 152 | o1ua o1ue o1ui o1uo o1uu 153 | u1ua u1ue u1ui u1uo u1uu 154 | % 155 | a2l1ua a2l1ue a2l1ui a2l1uo a2l1uu 156 | e2l1ua e2l1ue e2l1ui e2l1uo e2l1uu 157 | i2l1ua i2l1ue i2l1ui i2l1uo i2l1uu 158 | o2l1ua o2l1ue o2l1ui o2l1uo o2l1uu 159 | u2l1ua u2l1ue u2l1ui u2l1uo u2l1uu 160 | % 161 | a2m1ua a2m1ue a2m1ui a2m1uo a2m1uu 162 | e2m1ua e2m1ue e2m1ui e2m1uo e2m1uu 163 | i2m1ua i2m1ue i2m1ui i2m1uo i2m1uu 164 | o2m1ua o2m1ue o2m1ui o2m1uo o2m1uu 165 | u2m1ua u2m1ue u2m1ui u2m1uo u2m1uu 166 | % 167 | a2n1ua a2n1ue a2n1ui a2n1uo a2n1uu 168 | e2n1ua e2n1ue e2n1ui e2n1uo e2n1uu 169 | i2n1ua i2n1ue i2n1ui i2n1uo i2n1uu 170 | o2n1ua o2n1ue o2n1ui o2n1uo o2n1uu 171 | u2n1ua u2n1ue u2n1ui u2n1uo u2n1uu 172 | % 173 | a2r1ua a2r1ue a2r1ui a2r1uo a2r1uu 174 | e2r1ua e2r1ue e2r1ui e2r1uo e2r1uu 175 | i2r1ua i2r1ue i2r1ui i2r1uo i2r1uu 176 | o2r1ua o2r1ue o2r1ui o2r1uo o2r1uu 177 | u2r1ua u2r1ue u2r1ui u2r1uo u2r1uu 178 | % 179 | % 180 | } 181 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 182 | % 183 | % For documentation see: 184 | % C. Beccari, "Computer aided hyphenation for Italian and Modern 185 | % Latin", TUG vol. 13, n. 1, pp. 23-33 (1992) 186 | % 187 | % see also 188 | % 189 | % C. Beccari, "Typesetting of ancient languages", 190 | % TUG vol.15, n.1, pp. 9-16 (1994) 191 | % 192 | % In the former paper the code was described as being contained in file 193 | % ITALAT.TEX; this is substantially the same code, but the file has been 194 | % renamed LAHYPH.TEX in accordance with the ISO name for Latin and the 195 | % convention that all hyphenation pattern file names should be formed by the 196 | % agglutination of two letter language ISO code and the abbreviation HYPH. 197 | % 198 | % A corresponding file (ITHYPH.TEX) has been extracted in order to eliminate 199 | % the (few) patterns specific to Latin and leave those specific to Italian; 200 | % ITHYPH.TEX has been further extended with many new patterns in order to 201 | % cope with the many neologisms and technical terms with foreign roots. 202 | % 203 | % Should you find any word that gets hyphenated in a wrong way, please, AFTER 204 | % CHECKING ON A RELIABLE MODERN DICTIONARY, report to the author, preferably 205 | % by e-mail. Please do not report about wrong break points concerning 206 | % prefixes and/or suffixes; see at the bottom of this file. 207 | % 208 | % Compared with the previous versions, this file has been extended so as to 209 | % cope also with the medieval Latin spelling, where the letter `V' played the 210 | % roles of both `U' and `V', as in the Roman times, save that the Romans used 211 | % only capitals. In the middle ages the availability of soft writing supports 212 | % and the necessity of copying books with a reasonable speed, several scripts 213 | % evolved in (practically) all of which there was a lower case alphabet 214 | % different from the upper case one, and where the lower case `v' had the 215 | % rounded shape of our modern lower case `u', and where the Latin diphthongs 216 | % `AE' and `OE', both in upper and lower case, where written as ligatures, 217 | % not to mention the habit of substituting them with their sound, that is a 218 | % simple `E'. 219 | % 220 | % According to Leon Battista Alberti, who in 1466 wrote a book on 221 | % cryptography where he thoroughly analyzed the hyphenation of the Latin 222 | % language of his (still medieval) times, the differences from the Tuscan 223 | % language (the Italian language, as it was named at his time) were very 224 | % limited, in particular for what concerns the handling of the ascending and 225 | % descending diphthongs; in Central and Northern Europe, and later on in 226 | % North America, the Scholars perceived the above diphthongs as made of two 227 | % distinct vowels; the hyphenation of medieval Latin, therefore, was quite 228 | % different in the northern countries compared to the southern ones, at least 229 | % for what concerns these diphthongs. If you need hyphenation patterns for 230 | % medieval Latin that suite you better according to the habits of Northern 231 | % Europe you should resort to the hyphenation patterns prepared by Yannis 232 | % Haralambous (TUGboat, vol.13 n.4 (1992)). 233 | % 234 | % 235 | % 236 | % PREFIXES AND SUFFIXES 237 | % 238 | % For what concerns prefixes and suffixes, the latter are generally separated 239 | % according to "natural" syllabification, while the former are generally 240 | % divided etimologically. In order to avoid an excessive number of patterns, 241 | % care has been paid to some prefixes, especially "ex", "trans", "circum", 242 | % "prae", but this set of patterns is NOT capable of separating the prefixes 243 | % in all circumstances. 244 | % 245 | % BABEL SHORTCUTS AND FACILITIES 246 | % 247 | % Read the documentation coming with the discription of the Latin language 248 | % interface of Babel in order to see the shortcuts and the facilities 249 | % introduced in order to facilitate the insertion of "compound word marks" 250 | % which are very useful for inserting etimological break points. 251 | % 252 | % Happy Latin and multilingual typesetting! 253 | -------------------------------------------------------------------------------- /php-typography/lang_unformatted/template.txt: -------------------------------------------------------------------------------- 1 | 'as-so-ciate','associates'=>'as-so-ciates') 24 | 25 | $patgenMaxSeg = 3; // maximum segment length in the patterns below (NOTE: Segment Lenght, not sequence length) 26 | 27 | $patgen = array('begin'=>array(),'end'=>array(),'all'=>array()); // key/values should be formatted so that the key is the relevant word segment and the value is the related patgen sequence. For example: array('begin'=>array('ach'=>'0004'),'end'=>array('ab'=>'400'),'all'=>array('aba'=>'0501')) 28 | 29 | // Reformatting original TeX/patgen patterns is less than convienent, but it greatly improves PHP preformance. 30 | // Some additional help in formatting these files for use in the PHP Typography project: 31 | 32 | // They original TEX pattern files have lists of segments formatted like this: 33 | // .ach4 34 | // 4ab. 35 | // a5bal 36 | // If a segment includes a period, it indicates that it should only be applied at the beginning or end of words (reletive to its position) 37 | // If a period appears before the original TeX pattern, it belongs in the 'begin' subarray of the $patgen variable 38 | // If a period appears after the original TeX pattern, it belongs in the 'end' subarray of the $patgen variable 39 | // If the original TeX pattern does not contain a period, it belongs in the 'all' subarray of the $patgen variable 40 | // 41 | // The word segement is derived from the original TeX pattern by stripping all numbers and periods. Thus: 42 | // .ach4 becomes ach 43 | // 4ab. becomes ab 44 | // a5ba1 becomes aba 45 | // 46 | // The patgen sequence is derived from the original TeX pattern by 47 | // 1) removing any period 48 | // 2) placing a "0" between any adjacent letters and at the beginning or end of the TeX pattern (if there is not already a number) 49 | // 3) stripping all letters 50 | // Thus: 51 | // .ach4 > ach4 > 0a0c0h4 > 0004 52 | // 4ab. > 4ab > 4a0b0 > 400 53 | // a5ba1 > 0a5b0a1 > 0501 54 | // 55 | // The final sequence should be one character longer in length than the related word segment 56 | // 57 | // Lastly, the file name must be the languages "Language Code" formatted according to W3C format for language codes (see http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes) 58 | // 59 | // To activate the new language defination, simply save the file to the /php-typography/lang/ directory 60 | 61 | 62 | 63 | ?> -------------------------------------------------------------------------------- /php-typography/php-parser/change_log_parser.txt: -------------------------------------------------------------------------------- 1 | 1.20 - December 20, 2009 2 | 3 | Added HTML5 elements to parsing algorithm for greater contextual awareness 4 | 5 | 1.19 - December 1, 2009 6 | 7 | Corrected some uninitiated variables 8 | 9 | 1.12 - August 17, 2009 10 | 11 | Corrected multibyte handling of nextChr and prevChr 12 | 13 | 1.10 - August 14, 2009 14 | 15 | Increased set of recognized multibyte word characters 16 | Corrected multibyte handling of nextChr and prevChr 17 | 18 | 1.4 - July 23, 2009 19 | 20 | Added letter connectors (like soft-hyphens) as prohibited characters for get_words if it is set to strictly return letter only words. 21 | 22 | 1.3 - July 23, 2009 23 | 24 | Uninitialized variables corrected throughout. 25 | 26 | 1.0 - July 15, 2009 27 | 28 | Removed beta tag 29 | 30 | 1.0 beta 7 - July 10, 2009 31 | 32 | added "/" as a valid word character so we could capture "this/that" as a word for processing (similar to "mother-in-law") 33 | Corrected error where characters from the Latin 1 Supplement Block were not recognized as word characters 34 | 35 | 1.0 beta 1 36 | 37 | initial release -------------------------------------------------------------------------------- /php-typography/php-parser/php-parser.php: -------------------------------------------------------------------------------- 1 | . 11 | 12 | WE DON'T WANT YOUR MONEY: NO TIPS NECESSARY! If you enjoy this plugin, a link to http://kingdesk.com from your website would be appreciated. 13 | 14 | For web design services, please contact info@kingdesk.com. 15 | */ 16 | 17 | # two classes defined: 18 | # - parseHTML 19 | # - parseText 20 | # 21 | # PHP Parser has been tested in PHP5. It may work in PHP4, but it has not been tested in that environment 22 | # if you have problems or success in PHP4, please let us know at info@kingdesk.com 23 | 24 | require_once('parseHTML.php'); 25 | require_once('parseText.php'); -------------------------------------------------------------------------------- /sass/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jpamental/rwt-scaffold/44a5bc806c44cc3f41872eb384701810fa2d3c37/sass/.DS_Store -------------------------------------------------------------------------------- /sass/_base.scss: -------------------------------------------------------------------------------- 1 | /* Set theme variables here */ 2 | 3 | // 4 | // "base" partial 5 | // 6 | // To make it easier to use all variables and mixins in any Sass file in this 7 | // theme, each .scss file has an import "base" declaration. And this _base.scss 8 | // file is in charge of importing all the other partials needed for the theme. 9 | // 10 | // This base partial is organized in this way: 11 | // - First we set any shared Sass variables. 12 | // - Next we import Compass plug-ins (Sass mixin libraries). 13 | // - Last we import a _custom.scss partial that includes our custom mixins. 14 | // 15 | 16 | 17 | // 18 | // Legacy IE support 19 | // 20 | // These variables are used by many mixins to add additional CSS to support 21 | // specific versions of IE or specific vendor prefixes. 22 | // 23 | // To turn on support for IE6 or IE7, set those variables to true. 24 | // 25 | // Zen does not require special handling for IE8 or later. But Compass uses that 26 | // variable for a couple edge cases. We include it for completeness sake. See 27 | // the documentation at http://compass-style.org/reference/compass/support/ 28 | $box-sizing-polyfill-path: "htc/boxsizing.htc"; 29 | 30 | 31 | 32 | // 33 | // Colors. 34 | // 35 | $page-background: #fff; 36 | 37 | 38 | $text-color: #393939; 39 | $link-color-link: #003399; 40 | $link-color-visited: darken($link-color-link, 15%); 41 | $link-color-hover: #993300; 42 | $link-color-active: #993300; 43 | $link-color-focus: #993300; 44 | 45 | $header-color: #2f2f2f; 46 | 47 | // 48 | // Media Query Breakpoints 49 | // These values are meant as a starting point but can be adjusted to suit your own layout and should be 50 | // tweaked to match the rest of your design 51 | // 52 | $mq-s-tab: 25em; /* 400px */ 53 | $mq-l-tab: 43.75em; /* 700px */ 54 | $mq-desk: 56.25em; /* 900px */ 55 | $mq-l-desk: 81.25em; /* 1300px */ 56 | 57 | 58 | // 59 | // Partials to be shared with all .scss files. 60 | // 61 | @import "compass/css3"; 62 | @import "compass/utilities"; 63 | 64 | 65 | -------------------------------------------------------------------------------- /sass/_normalize.scss: -------------------------------------------------------------------------------- 1 | /*! normalize.css v1.0.1 | MIT License | git.io/normalize */ 2 | 3 | /* ========================================================================== 4 | HTML5 display definitions 5 | ========================================================================== */ 6 | 7 | /* 8 | * Corrects `block` display not defined in IE 6/7/8/9 and Firefox 3. 9 | */ 10 | 11 | article, 12 | aside, 13 | details, 14 | figcaption, 15 | figure, 16 | footer, 17 | header, 18 | hgroup, 19 | nav, 20 | section, 21 | summary { 22 | display: block; 23 | } 24 | 25 | /* 26 | * Corrects `inline-block` display not defined in IE 6/7/8/9 and Firefox 3. 27 | */ 28 | 29 | audio, 30 | canvas, 31 | video { 32 | display: inline-block; 33 | *display: inline; 34 | *zoom: 1; 35 | } 36 | 37 | /* ========================================================================== 38 | Base 39 | ========================================================================== */ 40 | 41 | /* 42 | * 1. Corrects text resizing oddly in IE 6/7 when body `font-size` is set using 43 | * `em` units. 44 | * 2. Prevents iOS text size adjust after orientation change, without disabling 45 | * user zoom. 46 | */ 47 | 48 | html { 49 | font-size: 100%; /* 1 */ 50 | -webkit-text-size-adjust: 100%; /* 2 */ 51 | -ms-text-size-adjust: 100%; /* 2 */ 52 | } 53 | 54 | /* 55 | * Addresses `font-family` inconsistency between `textarea` and other form 56 | * elements. 57 | */ 58 | 59 | html, 60 | button, 61 | input, 62 | select, 63 | textarea { 64 | font-family: sans-serif; 65 | } 66 | 67 | /* 68 | * Addresses margins handled incorrectly in IE 6/7. 69 | */ 70 | 71 | body { 72 | margin: 0; 73 | } 74 | 75 | /* ========================================================================== 76 | Typography 77 | ========================================================================== */ 78 | 79 | /* 80 | * Addresses font sizes and margins set differently in IE 6/7. 81 | * Addresses font sizes within `section` and `article` in Firefox 4+, Safari 5, 82 | * and Chrome. 83 | */ 84 | 85 | h1 { 86 | font-size: 2em; 87 | margin: 0.67em 0; 88 | } 89 | 90 | h2 { 91 | font-size: 1.5em; 92 | margin: 0.83em 0; 93 | } 94 | 95 | h3 { 96 | font-size: 1.17em; 97 | margin: 1em 0; 98 | } 99 | 100 | h4 { 101 | font-size: 1em; 102 | margin: 1.33em 0; 103 | } 104 | 105 | h5 { 106 | font-size: 0.83em; 107 | margin: 1.67em 0; 108 | } 109 | 110 | h6 { 111 | font-size: 0.75em; 112 | margin: 2.33em 0; 113 | } 114 | 115 | /* 116 | * Addresses styling not present in IE 7/8/9, Safari 5, and Chrome. 117 | */ 118 | 119 | abbr[title] { 120 | border-bottom: 1px dotted; 121 | } 122 | 123 | /* 124 | * Addresses style set to `bolder` in Firefox 3+, Safari 4/5, and Chrome. 125 | */ 126 | 127 | b, 128 | strong { 129 | font-weight: bold; 130 | } 131 | 132 | blockquote { 133 | margin: 1em 40px; 134 | } 135 | 136 | /* 137 | * Addresses styling not present in Safari 5 and Chrome. 138 | */ 139 | 140 | dfn { 141 | font-style: italic; 142 | } 143 | 144 | /* 145 | * Addresses styling not present in IE 6/7/8/9. 146 | */ 147 | 148 | mark { 149 | background: #ff0; 150 | color: #000; 151 | } 152 | 153 | /* 154 | * Addresses margins set differently in IE 6/7. 155 | */ 156 | 157 | p, 158 | pre { 159 | margin: 1em 0; 160 | } 161 | 162 | /* 163 | * Corrects font family set oddly in IE 6, Safari 4/5, and Chrome. 164 | */ 165 | 166 | code, 167 | kbd, 168 | pre, 169 | samp { 170 | font-family: monospace, serif; 171 | _font-family: 'courier new', monospace; 172 | font-size: 1em; 173 | } 174 | 175 | /* 176 | * Improves readability of pre-formatted text in all browsers. 177 | */ 178 | 179 | pre { 180 | white-space: pre; 181 | white-space: pre-wrap; 182 | word-wrap: break-word; 183 | } 184 | 185 | /* 186 | * Addresses CSS quotes not supported in IE 6/7. 187 | */ 188 | 189 | q { 190 | quotes: none; 191 | } 192 | 193 | /* 194 | * Addresses `quotes` property not supported in Safari 4. 195 | */ 196 | 197 | q:before, 198 | q:after { 199 | content: ''; 200 | content: none; 201 | } 202 | 203 | /* 204 | * Addresses inconsistent and variable font size in all browsers. 205 | */ 206 | 207 | small { 208 | font-size: 80%; 209 | } 210 | 211 | /* 212 | * Prevents `sub` and `sup` affecting `line-height` in all browsers. 213 | */ 214 | 215 | sub, 216 | sup { 217 | font-size: 75%; 218 | line-height: 0; 219 | position: relative; 220 | vertical-align: baseline; 221 | } 222 | 223 | sup { 224 | top: -0.5em; 225 | } 226 | 227 | sub { 228 | bottom: -0.25em; 229 | } 230 | 231 | /* ========================================================================== 232 | Lists 233 | ========================================================================== */ 234 | 235 | /* 236 | * Addresses margins set differently in IE 6/7. 237 | */ 238 | 239 | dl, 240 | menu, 241 | ol, 242 | ul { 243 | margin: 1em 0; 244 | } 245 | 246 | dd { 247 | margin: 0 0 0 40px; 248 | } 249 | 250 | /* 251 | * Addresses paddings set differently in IE 6/7. 252 | */ 253 | 254 | menu, 255 | ol, 256 | ul { 257 | padding: 0 0 0 40px; 258 | } 259 | 260 | /* 261 | * Corrects list images handled incorrectly in IE 7. 262 | */ 263 | 264 | nav ul, 265 | nav ol { 266 | list-style: none; 267 | list-style-image: none; 268 | } 269 | 270 | /* ========================================================================== 271 | Embedded content 272 | ========================================================================== */ 273 | 274 | /* 275 | * 1. Removes border when inside `a` element in IE 6/7/8/9 and Firefox 3. 276 | * 2. Improves image quality when scaled in IE 7. 277 | */ 278 | 279 | img { 280 | border: 0; /* 1 */ 281 | -ms-interpolation-mode: bicubic; /* 2 */ 282 | } 283 | 284 | /* 285 | * Corrects overflow displayed oddly in IE 9. 286 | */ 287 | 288 | svg:not(:root) { 289 | overflow: hidden; 290 | } 291 | 292 | /* ========================================================================== 293 | Figures 294 | ========================================================================== */ 295 | 296 | /* 297 | * Addresses margin not present in IE 6/7/8/9, Safari 5, and Opera 11. 298 | */ 299 | 300 | figure { 301 | margin: 0; 302 | } 303 | 304 | /* ========================================================================== 305 | Forms 306 | ========================================================================== */ 307 | 308 | /* 309 | * Corrects margin displayed oddly in IE 6/7. 310 | */ 311 | 312 | form { 313 | margin: 0; 314 | } 315 | 316 | /* 317 | * Define consistent border, margin, and padding. 318 | */ 319 | 320 | fieldset { 321 | border: 1px solid #c0c0c0; 322 | margin: 0 2px; 323 | padding: 0.35em 0.625em 0.75em; 324 | } 325 | 326 | /* 327 | * 1. Corrects color not being inherited in IE 6/7/8/9. 328 | * 2. Corrects text not wrapping in Firefox 3. 329 | * 3. Corrects alignment displayed oddly in IE 6/7. 330 | */ 331 | 332 | legend { 333 | border: 0; /* 1 */ 334 | padding: 0; 335 | white-space: normal; /* 2 */ 336 | *margin-left: -7px; /* 3 */ 337 | } 338 | 339 | /* 340 | * 1. Corrects font size not being inherited in all browsers. 341 | * 2. Addresses margins set differently in IE 6/7, Firefox 3+, Safari 5, 342 | * and Chrome. 343 | * 3. Improves appearance and consistency in all browsers. 344 | */ 345 | 346 | button, 347 | input, 348 | select, 349 | textarea { 350 | font-size: 100%; /* 1 */ 351 | margin: 0; /* 2 */ 352 | vertical-align: baseline; /* 3 */ 353 | *vertical-align: middle; /* 3 */ 354 | } 355 | 356 | /* 357 | * Addresses Firefox 3+ setting `line-height` on `input` using `!important` in 358 | * the UA stylesheet. 359 | */ 360 | 361 | button, 362 | input { 363 | line-height: normal; 364 | } 365 | 366 | /* 367 | * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` 368 | * and `video` controls. 369 | * 2. Corrects inability to style clickable `input` types in iOS. 370 | * 3. Improves usability and consistency of cursor style between image-type 371 | * `input` and others. 372 | * 4. Removes inner spacing in IE 7 without affecting normal text inputs. 373 | * Known issue: inner spacing remains in IE 6. 374 | */ 375 | 376 | button, 377 | html input[type="button"], /* 1 */ 378 | input[type="reset"], 379 | input[type="submit"] { 380 | -webkit-appearance: button; /* 2 */ 381 | cursor: pointer; /* 3 */ 382 | *overflow: visible; /* 4 */ 383 | } 384 | 385 | /* 386 | * Re-set default cursor for disabled elements. 387 | */ 388 | 389 | button[disabled], 390 | input[disabled] { 391 | cursor: default; 392 | } 393 | 394 | /* 395 | * 1. Addresses box sizing set to content-box in IE 8/9. 396 | * 2. Removes excess padding in IE 8/9. 397 | * 3. Removes excess padding in IE 7. 398 | * Known issue: excess padding remains in IE 6. 399 | */ 400 | 401 | input[type="checkbox"], 402 | input[type="radio"] { 403 | box-sizing: border-box; /* 1 */ 404 | padding: 0; /* 2 */ 405 | *height: 13px; /* 3 */ 406 | *width: 13px; /* 3 */ 407 | } 408 | 409 | /* 410 | * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome. 411 | * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome 412 | * (include `-moz` to future-proof). 413 | */ 414 | 415 | input[type="search"] { 416 | -webkit-appearance: textfield; /* 1 */ 417 | -moz-box-sizing: content-box; 418 | -webkit-box-sizing: content-box; /* 2 */ 419 | box-sizing: content-box; 420 | } 421 | 422 | /* 423 | * Removes inner padding and search cancel button in Safari 5 and Chrome 424 | * on OS X. 425 | */ 426 | 427 | input[type="search"]::-webkit-search-cancel-button, 428 | input[type="search"]::-webkit-search-decoration { 429 | -webkit-appearance: none; 430 | } 431 | 432 | /* 433 | * Removes inner padding and border in Firefox 3+. 434 | */ 435 | 436 | button::-moz-focus-inner, 437 | input::-moz-focus-inner { 438 | border: 0; 439 | padding: 0; 440 | } 441 | 442 | /* 443 | * 1. Removes default vertical scrollbar in IE 6/7/8/9. 444 | * 2. Improves readability and alignment in all browsers. 445 | */ 446 | 447 | textarea { 448 | overflow: auto; /* 1 */ 449 | vertical-align: top; /* 2 */ 450 | } 451 | 452 | /* ========================================================================== 453 | Tables 454 | ========================================================================== */ 455 | 456 | /* 457 | * Remove most spacing between table cells. 458 | */ 459 | 460 | table { 461 | border-collapse: collapse; 462 | border-spacing: 0; 463 | } 464 | -------------------------------------------------------------------------------- /sass/_rwt_base.scss: -------------------------------------------------------------------------------- 1 | /* Set theme variables here */ 2 | 3 | // 4 | // "base" partial 5 | // 6 | // To make it easier to use all variables and mixins in any Sass file in this 7 | // theme, each .scss file has an import "base" declaration. And this _base.scss 8 | // file is in charge of importing all the other partials needed for the theme. 9 | // 10 | // This base partial is organized in this way: 11 | // - First we set any shared Sass variables. 12 | // - Next we import Compass plug-ins (Sass mixin libraries). 13 | // - Last we import a _custom.scss partial that includes our custom mixins. 14 | // 15 | 16 | 17 | 18 | // 19 | // Font faces, stacks and sizes. 20 | // 21 | $sans-serif-fallback: Helvetica, "Lucida Sans", "Lucida Grande", "Lucida Sans Unicode", sans-serif; 22 | $serif-fallback: Georgia, "Times New Roman", Times, serif; 23 | 24 | $sans-serif: "Fira Sans", $sans-serif-fallback; 25 | $serif: $serif-fallback; 26 | 27 | $text-base-size: 16; // use base equivalent pixel size (i.e. 16 for 'default') 28 | $body-copy-size: 16; // adjust this to the equivalent pixel size you'd like for body copy 29 | $body-copy-size-l: 18; // adjust this to the equivalent pixel size you'd like for body copy on larger screens 30 | $body-copy-lh: 23; // adjust to equivalent pixel value for line height in body copy 31 | $body-copy-lh-l: 24; // adjust to equivalent pixel value for line height in body copy 32 | 33 | // H1 size and line height across major scaling points 34 | $h1-size-p: 32; // equivalent pixel value on phones 35 | $h1-size-s-tab: 36; // equivalent pixel value on smaller tablets 36 | $h1-size-l-tab: 40; // equivalent pixel value on larger tablets 37 | $h1-size-desk: 48; // equivalent pixel value on desktop 38 | $h1-size-l-desk: 64; // equivalent pixel value on large desktop 39 | 40 | $h1-lh-p: (40 / $h1-size-p); // equivalent pixel value on phones/small tablets 41 | $h1-lh-s-tab: (40 / $h1-size-s-tab); // equivalent pixel value on smaller tablets 42 | $h1-lh-l-tab: (45 / $h1-size-l-tab); // equivalent pixel value on larger tablets 43 | $h1-lh-desk: (50 / $h1-size-desk); // equivalent pixel value on desktop 44 | $h1-lh-l-desk: (68 / $h1-size-l-desk); // equivalent pixel value on large desktop 45 | 46 | // H2 size and line height across major scaling points 47 | $h2-size-p: 26; // equivalent pixel value on phones 48 | $h2-size-s-tab: 28; // equivalent pixel value on smaller tablets 49 | $h2-size-l-tab: 32; // equivalent pixel value on larger tablets 50 | $h2-size-desk: 36; // equivalent pixel value on desktop 51 | $h2-size-l-desk: 40; // equivalent pixel value on large desktop 52 | 53 | $h2-lh-p: (30 / $h2-size-p); // equivalent pixel value on phones/small tablets 54 | $h2-lh-s-tab: (34 / $h2-size-s-tab); // equivalent pixel value on smaller tablets 55 | $h2-lh-l-tab: (40 / $h2-size-l-tab); // equivalent pixel value on larger tablets 56 | $h2-lh-desk: (42 / $h2-size-desk); // equivalent pixel value on desktop 57 | $h2-lh-l-desk: (48 / $h2-size-l-desk); // equivalent pixel value on large desktop 58 | 59 | // H3 size and line height across major scaling points 60 | $h3-size-p: 21; // equivalent pixel value on phones 61 | $h3-size-s-tab: 24; // equivalent pixel value on smaller tablets 62 | $h3-size-l-tab: 28; // equivalent pixel value on larger tablets 63 | $h3-size-desk: 30; // equivalent pixel value on desktop 64 | $h3-size-l-desk: 32; // equivalent pixel value on large desktop 65 | 66 | $h3-lh-p: (24 / $h3-size-p); // equivalent pixel value on phones/small tablets 67 | $h3-lh-s-tab: (28 / $h3-size-s-tab); // equivalent pixel value on smaller tablets 68 | $h3-lh-l-tab: (32 / $h3-size-l-tab); // equivalent pixel value on larger tablets 69 | $h3-lh-desk: (36 / $h3-size-desk); // equivalent pixel value on desktop 70 | $h3-lh-l-desk: (40 / $h3-size-l-desk); // equivalent pixel value on large desktop 71 | 72 | // H4 size and line height across major scaling points 73 | $h4-size-p: 18; // equivalent pixel value on phones 74 | $h4-size-s-tab: 18; // equivalent pixel value on smaller tablets 75 | $h4-size-l-tab: 20; // equivalent pixel value on larger tablets 76 | $h4-size-desk: 22; // equivalent pixel value on desktop 77 | $h4-size-l-desk: 24; // equivalent pixel value on large desktop 78 | 79 | $h4-lh-p: (22 / $h4-size-p); // equivalent pixel value on phones/small tablets 80 | $h4-lh-s-tab: (22 / $h4-size-s-tab); // equivalent pixel value on smaller tablets 81 | $h4-lh-l-tab: (24 / $h4-size-l-tab); // equivalent pixel value on larger tablets 82 | $h4-lh-desk: (26 / $h4-size-desk); // equivalent pixel value on desktop 83 | $h4-lh-l-desk: (28 / $h4-size-l-desk); // equivalent pixel value on large desktop 84 | 85 | 86 | /* fallback font tweaks should be done in _rwt_scaffold - not worth putting variables in here for that */ 87 | 88 | // 89 | // Media Query Breakpoints 90 | // These values are meant as a starting point but can be adjusted to suit your own layout and should be 91 | // tweaked to match the rest of your design 92 | // 93 | $rwt-mq-s-tab: 25em; /* 400px */ 94 | $rwt-mq-l-tab: 43.75em; /* 700px */ 95 | $rwt-mq-desk: 56.25em; /* 900px */ 96 | $rwt-mq-l-desk: 81.25em; /* 1300px */ 97 | 98 | 99 | // 100 | // Partials to be shared with all .scss files. 101 | // 102 | @import "compass/typography"; 103 | 104 | 105 | @import "rwt_otfeatures"; // import OpenType Features mixin 106 | @import "rwt_nicelink"; // import nicelink mixin 107 | 108 | -------------------------------------------------------------------------------- /sass/_rwt_nicelink.scss: -------------------------------------------------------------------------------- 1 | /* This mixin is meant to give a nicer link underline that sits comfortably below the text and uses text shadow to knock out the underline around descenders */ 2 | 3 | @mixin nicelink($link: #0000ee, $background: #ffffff, $padding: 0, $position: 0.8em ) { 4 | color: $link; 5 | padding: 0 $padding; 6 | text-decoration: none; 7 | text-shadow: 1px 0 0 $background, 1px 0 0 $background, -1px 0 0 $background, -1px 0 0 $background; 8 | @include background-image(linear-gradient(to bottom, rgba(#000000, 0) 75%, rgba(darken($link, 5%), 0.85) 75%, transparent)); 9 | background-repeat: repeat-x; 10 | background-size: 2px 2px; 11 | background-position: 0 $position; 12 | display: inline; 13 | word-break: break-word; 14 | 15 | } 16 | 17 | /* 18 | Nice Link Features key 19 | Background Color - defaults to white, needed to blend the text shadow with the background color to create the 'knock-out' effect 20 | $background: #ffffff 21 | 22 | Link Color - defaults to blue, needed to match the text and underline colors 23 | $link: #0000ee 24 | 25 | */ -------------------------------------------------------------------------------- /sass/_rwt_otfeatures.scss: -------------------------------------------------------------------------------- 1 | /* This mixin is meant to help enable/disable OpenType features in your web pages with web fonts that support them */ 2 | 3 | @mixin otfeatures($c2sc: 0, $calt: 0, $clig: 0, $dlig: 0, $frac: 0, $hist: 0, $hlig: 0, $kern: 0, $liga: 0, $nalt: 0, $ncase: 0, $nspace: 0, $salt: 0, $smcp: 0, $ss01: 0, $ss02: 0, $ss03: 0, $ss04: 0, $ss05: 0, $swsh: 0, $zero: 0) { 4 | 5 | $fraclabel: 'frac' !default; 6 | $fracval: 0 !default; 7 | @if $frac == 0 { 8 | $fracval: 0; 9 | $fraclabel: 'frac'; 10 | } @else if $frac == 'frac' { 11 | $fracval: 1; 12 | $fraclabel: 'frac'; 13 | } @else if $frac == 'afrc' { 14 | $fracval: 1; 15 | $fraclabel: 'afrc'; 16 | } 17 | 18 | $ncaselabel: null !default; 19 | $ncaselabelalt: null !default; 20 | $ncaseval: null !default; 21 | @if $ncase == 0 { 22 | $ncaseval: null; 23 | $ncaselabel: null; 24 | $ncaselabelalt: null; 25 | } @else if $ncase == 'lnum' { 26 | $ncaseval: '1,'; 27 | $ncaselabel: 'lnum'; 28 | $ncaselabelalt: '"lnum=1",'; 29 | } @else if $ncase == 'onum' { 30 | $ncaseval: '1,'; 31 | $ncaselabel: 'onum'; 32 | $ncaselabelalt: 'onum=1,'; 33 | } 34 | 35 | $nspacelabel: null !default; 36 | $nspacelabelalt: null !default; 37 | $nspaceval: null !default; 38 | @if $nspace == 0 { 39 | $nspaceval: 0; 40 | $nspacelabel: 'snum'; 41 | $nspacelabelalt: 'snum=0'; 42 | } @else if $nspace == 'pnum' { 43 | $nspaceval: 1; 44 | $nspacelabel: 'pnum'; 45 | $nspacelabelalt: 'pnum=1'; 46 | } @else if $nspace == 'tnum' { 47 | $nspaceval: 1; 48 | $nspacelabel: 'tnum'; 49 | $nspacelabelalt: 'tnum=1'; 50 | } 51 | 52 | -moz-font-feature-settings : 'c2sc=#{$c2sc}','calt=#{$calt}','clig=#{$clig}','dlig=#{$dlig}','#{$fraclabel}=#{$fracval}','hist=#{$hist}','hlig=#{$hlig}','kern= #{$kern}','liga=#{$liga}','nalt=#{$nalt}','salt=#{$salt}','smcp=#{$smcp}','ss01=#{$ss01}','ss02=#{$ss02}','ss03=#{$ss03}','ss04=#{$ss04}','ss05=#{$ss05}','swsh=#{$swsh}','zero=#{$zero}', #{$ncaselabelalt} $nspacelabelalt; 53 | -moz-font-feature-settings : "c2sc" $c2sc,"calt" $calt,"clig" $clig,"dlig" $dlig,"#{$fraclabel}" $fracval,"hist" $hist,"hlig" $hlig,"kern" $kern,"liga" $liga,"nalt" $nalt,"salt" $salt,"smcp" $smcp,"ss01" $ss01,"ss02" $ss02,"ss03" $ss03,"ss04" $ss04,"ss05" $ss05,"swsh" $swsh,"zero" $zero, $ncaselabel #{$ncaseval} $nspacelabel $nspaceval; 54 | -webkit-font-feature-settings : "c2sc" $c2sc,"calt" $calt,"clig" $clig,"dlig" $dlig,"#{$fraclabel}" $fracval,"hist" $hist,"hlig" $hlig,"kern" $kern,"liga" $liga,"nalt" $nalt,"salt" $salt,"smcp" $smcp,"ss01" $ss01,"ss02" $ss02,"ss03" $ss03,"ss04" $ss04,"ss05" $ss05,"swsh" $swsh,"zero" $zero, $ncaselabel #{$ncaseval} $nspacelabel $nspaceval; 55 | -ms-font-feature-settings : 'c2sc=#{$c2sc}','calt=#{$calt}','clig=#{$clig}','dlig=#{$dlig}','#{$fraclabel}=#{$fracval}','hist=#{$hist}','hlig=#{$hlig}','kern= #{$kern}','liga=#{$liga}','nalt=#{$nalt}','salt=#{$salt}','smcp=#{$smcp}','ss01=#{$ss01}','ss02=#{$ss02}','ss03=#{$ss03}','ss04=#{$ss04}','ss05=#{$ss05}','swsh=#{$swsh}','zero=#{$zero}', #{$ncaselabelalt} $nspacelabelalt; 56 | -o-font-feature-settings : "c2sc" $c2sc,"calt" $calt,"clig" $clig,"dlig" $dlig,"#{$fraclabel}" $fracval,"hist" $hist,"hlig" $hlig,"kern" $kern,"liga" $liga,"nalt" $nalt,"salt" $salt,"smcp" $smcp,"ss01" $ss01,"ss02" $ss02,"ss03" $ss03,"ss04" $ss04,"ss05" $ss05,"swsh" $swsh,"zero" $zero, $ncaselabel #{$ncaseval} $nspacelabel $nspaceval; 57 | font-feature-settings : "c2sc" $c2sc,"calt" $calt,"clig" $clig,"dlig" $dlig,"#{$fraclabel}" $fracval,"hist" $hist,"hlig" $hlig,"kern" $kern,"liga" $liga,"nalt" $nalt,"salt" $salt,"smcp" $smcp,"ss01" $ss01,"ss02" $ss02,"ss03" $ss03,"ss04" $ss04,"ss05" $ss05,"swsh" $swsh,"zero" $zero, $ncaselabel #{$ncaseval} $nspacelabel $nspaceval; 58 | } 59 | 60 | /* 61 | OpenType Features Key 62 | @mixin otfeatures($c2sc: 0, $calt: 0, $clig: 0, $dlig: 0, $frac: 0, $hist: 0, $hlig: 0, $kern: 0, $liga: 0, $nalt: 0, $ncase: 0, $nspace: 0, $salt: 0, $ss01: 0, $ss02: 0, $ss03: 0, $ss04: 0, $ss05: 0, $swsh: 0, $zero: 0) 63 | 64 | // Ligatures 65 | "liga" : common ligatures 66 | "dlig" : discretionary ligatures 67 | "clig" : contextual ligatures 68 | "hlig" : historical ligatures 69 | 70 | // Alternate Characters 71 | "swsh" : swashes 72 | "calt" : contextual alternates 73 | "hist" : historical character alternatives 74 | "salt" : stylistic alternatives 75 | 76 | // Kerning 77 | "kern" : enable use of embedded kerning table 78 | 79 | // Letter Case 80 | "smcp" : small caps 81 | "c2sc" : small caps from caps 82 | 83 | // Stylistic Alternates 84 | "ss01" : alternate stylistic set 1 85 | "ss02" : alternate stylistic set 2 86 | "ss03" : alternate stylistic set 3 87 | "ss04" : alternate stylistic set 4 88 | "ss05" : alternate stylistic set 5 89 | 90 | // Numeric Extras 91 | "zero" : slashed-zero 92 | "nalt" : alternate annotation 93 | 94 | The following OT Features are either/or rather than single choices, so require some 'if/else' logic 95 | // Number Case 96 | "ncase" : number case 97 | 0: default 98 | lnum: lining figures 99 | onum: old style figures 100 | 101 | // Number Spacing 102 | "nspace": number spacing 103 | 0: default 104 | pnum: proportional spacing 105 | tnum: tabuplar spacing 106 | 107 | "frac" : fractions 108 | 0: off 109 | frac: normal fractions 110 | afrc: alternate fractions 111 | */ -------------------------------------------------------------------------------- /sass/_rwt_scaffold.scss: -------------------------------------------------------------------------------- 1 | /* Import _base.scss variables */ 2 | @import "rwt_base"; 3 | 4 | 5 | 6 | /* Type Rendering Mix */ 7 | 8 | /* set webkit antialiasing specifically for Mac OS */ 9 | .tr-coretext { 10 | /* Add classes here that you want to 'skinny up' when rendered on MacOS and fonts look chunky */ 11 | /* example: */ 12 | //h1 { 13 | // @extend .skinnify; 14 | //} 15 | } 16 | 17 | /* helps with fonts that look a bit chunky on MacOS vs other platforms/OS's */ 18 | .skinnify { 19 | -webkit-font-smoothing: antialiased; 20 | -moz-osx-font-smoothing: grayscale; 21 | } 22 | 23 | .unskinnify { 24 | -webkit-font-smoothing: auto; 25 | -moz-osx-font-smoothing: auto; 26 | } 27 | 28 | .hyphenate { 29 | word-wrap: break-word; 30 | -webkit-hyphens: auto; 31 | 32 | -moz-hyphens: auto; 33 | 34 | -ms-hyphens: auto; 35 | 36 | -o-hyphens: auto; 37 | 38 | hyphens: auto; 39 | } 40 | 41 | /******* /HELPERS ********/ 42 | 43 | 44 | /* RWT Scaffold Styles */ 45 | html { 46 | font-size: 100%; 47 | } 48 | 49 | /* CONSIDERATIONS */ 50 | /* 51 | When working across breakpoints and with/without web fonts, be sure to think about: 52 | font-size 53 | letter-spacing 54 | line-height 55 | margin-top 56 | margin-bottom 57 | */ 58 | body { 59 | font-size: 1em; 60 | } 61 | 62 | p, caption, th, td, input, textarea, legend, fieldset { 63 | color: $text-color; 64 | font-family: $sans-serif; 65 | font-size: ($body-copy-size / $text-base-size) * 1em; 66 | letter-spacing: normal; 67 | line-height: ($body-copy-lh / $body-copy-size); 68 | @include transition(font-size 0.2s ease-in-out); 69 | @media (min-width: $rwt-mq-s-tab) { 70 | font-size: ($body-copy-size / $text-base-size) * 1em; 71 | } 72 | @media (min-width: $rwt-mq-l-tab) { 73 | font-size: ($body-copy-size / $text-base-size) * 1em; 74 | } 75 | @media (min-width: $rwt-mq-desk) { 76 | font-size: ($body-copy-size / $text-base-size) * 1em; 77 | } 78 | @media (min-width: $rwt-mq-l-desk) { 79 | font-size: (($body-copy-size-l) / $text-base-size) * 1em; 80 | line-height: ($body-copy-lh-l / $body-copy-size-l); 81 | } 82 | .wf-inactive & { 83 | font-family: $sans-serif-fallback; 84 | font-size: 0.985em; 85 | word-spacing: 0.07em; 86 | @media (min-width: $rwt-mq-s-tab) { 87 | 88 | } 89 | @media (min-width: $rwt-mq-l-tab) { 90 | 91 | } 92 | @media (min-width: $rwt-mq-desk) { 93 | 94 | } 95 | @media (min-width: $rwt-mq-l-desk) { 96 | 97 | } 98 | } 99 | .wf-inactive.uncorrected & { 100 | font-size: inherit; 101 | line-height: inherit; 102 | letter-spacing: inherit; 103 | } 104 | } 105 | 106 | h1 { 107 | color: $header-color; 108 | font-family: $sans-serif; 109 | font-weight: bold; 110 | font-size: ($h1-size-p / $body-copy-size) * 1em; 111 | letter-spacing: normal; 112 | line-height: $h1-lh-p; 113 | margin-top: (30 / $h1-size-p) * 1em; 114 | margin-bottom: (10 / $h1-size-p) * 1em; 115 | margin-left: 0; 116 | margin-right: 0; 117 | @media (min-width: $rwt-mq-s-tab) { 118 | font-size: ($h1-size-s-tab / $body-copy-size) * 1em; 119 | letter-spacing: normal; 120 | line-height: $h1-lh-s-tab; 121 | margin-top: (30 / $h1-size-s-tab) * 1em; 122 | margin-bottom: (10 / $h1-size-s-tab) * 1em; 123 | } 124 | @media (min-width: $rwt-mq-l-tab) { 125 | font-size: ($h1-size-l-tab / $body-copy-size) * 1em; 126 | letter-spacing: normal; 127 | line-height: $h1-lh-l-tab; 128 | margin-top: (30 / $h1-size-l-tab) * 1em; 129 | margin-bottom: (20 / $h1-size-l-tab) * 1em; 130 | } 131 | @media (min-width: $rwt-mq-desk) { 132 | font-size: ($h1-size-desk / $body-copy-size) * 1em; 133 | letter-spacing: normal; 134 | line-height: $h1-lh-desk; 135 | margin-top: (50 / $h1-size-desk) * 1em; 136 | margin-bottom: (20 / $h1-size-desk) * 1em; 137 | } 138 | @media (min-width: $rwt-mq-l-desk) { 139 | font-size: ($h1-size-l-desk / $body-copy-size-l) * 1em; 140 | letter-spacing: normal; 141 | line-height: $h1-lh-l-desk; 142 | margin-top: (60 / $h1-size-l-desk) * 1em; 143 | margin-bottom: (30 / $h1-size-l-desk) * 1em; 144 | } 145 | .wf-inactive & { 146 | font-family: $sans-serif-fallback; 147 | @media (min-width: $rwt-mq-s-tab) { 148 | 149 | } 150 | @media (min-width: $rwt-mq-l-tab) { 151 | 152 | } 153 | @media (min-width: $rwt-mq-desk) { 154 | font-size: 2.95em; 155 | letter-spacing: -0.025em; 156 | margin-top: (50 / $h1-size-desk) * 1em; 157 | margin-bottom: (23 / $h1-size-desk) * 1em; 158 | } 159 | @media (min-width: $rwt-mq-l-desk) { 160 | 161 | } 162 | } 163 | } 164 | 165 | h2 { 166 | color: $header-color; 167 | font-family: $sans-serif; 168 | font-weight: 500; 169 | font-size: ($h2-size-p / $body-copy-size) * 1em; 170 | letter-spacing: normal; 171 | line-height: $h2-lh-p; 172 | margin-top: (20 / $h2-size-p) * 1em; 173 | margin-bottom: (10 / $h2-size-p) * 1em; 174 | margin-left: 0; 175 | margin-right: 0; 176 | @media (min-width: $rwt-mq-s-tab) { 177 | font-size: ($h2-size-s-tab / $body-copy-size) * 1em; 178 | letter-spacing: normal; 179 | line-height: $h2-lh-s-tab; 180 | margin-top: (20 / $h2-size-s-tab) * 1em; 181 | margin-bottom: (10 / $h2-size-s-tab) * 1em; 182 | margin-left: 0; 183 | margin-right: 0; 184 | } 185 | @media (min-width: $rwt-mq-l-tab) { 186 | font-size: ($h2-size-l-tab / $body-copy-size) * 1em; 187 | letter-spacing: normal; 188 | line-height: $h2-lh-l-tab; 189 | margin-top: (20 / $h2-size-l-tab) * 1em; 190 | margin-bottom: (10 / $h2-size-l-tab) * 1em; 191 | margin-left: 0; 192 | margin-right: 0; 193 | } 194 | @media (min-width: $rwt-mq-desk) { 195 | font-size: ($h2-size-desk / $body-copy-size) * 1em; 196 | letter-spacing: normal; 197 | line-height: $h2-lh-desk; 198 | margin-top: (30 / $h2-size-desk) * 1em; 199 | margin-bottom: (20 / $h2-size-desk) * 1em; 200 | margin-left: 0; 201 | margin-right: 0; 202 | } 203 | @media (min-width: $rwt-mq-l-desk) { 204 | font-size: ($h2-size-l-desk / $body-copy-size-l) * 1em; 205 | letter-spacing: normal; 206 | line-height: $h2-lh-l-desk; 207 | margin-top: (30 / $h2-size-l-desk) * 1em; 208 | margin-bottom: (20 / $h2-size-l-desk) * 1em; 209 | margin-left: 0; 210 | margin-right: 0; 211 | } 212 | .wf-inactive & { 213 | font-family: $sans-serif-fallback; 214 | @media (min-width: $rwt-mq-s-tab) { 215 | 216 | } 217 | @media (min-width: $rwt-mq-l-tab) { 218 | 219 | } 220 | @media (min-width: $rwt-mq-desk) { 221 | margin-top: (28 / $h2-size-desk) * 1em; 222 | margin-bottom: (22 / $h2-size-desk) * 1em; 223 | } 224 | @media (min-width: $rwt-mq-l-desk) { 225 | margin-top: (28 / $h2-size-l-desk) * 1em; 226 | margin-bottom: (22 / $h2-size-l-desk) * 1em; 227 | } 228 | } 229 | } 230 | 231 | h3 { 232 | color: $header-color; 233 | font-family: $sans-serif; 234 | font-weight: 500; 235 | font-size: ($h3-size-p / $body-copy-size) * 1em; 236 | letter-spacing: normal; 237 | line-height: $h3-lh-p; 238 | margin-top: (20 / $h3-size-p) * 1em; 239 | margin-bottom: (10 / $h3-size-p) * 1em; 240 | margin-left: 0; 241 | margin-right: 0; 242 | @media (min-width: $rwt-mq-s-tab) { 243 | font-size: ($h3-size-s-tab / $body-copy-size) * 1em; 244 | letter-spacing: normal; 245 | line-height: $h3-lh-s-tab; 246 | margin-top: (20 / $h3-size-s-tab) * 1em; 247 | margin-bottom: (10 / $h3-size-s-tab) * 1em; 248 | margin-left: 0; 249 | margin-right: 0; 250 | } 251 | @media (min-width: $rwt-mq-l-tab) { 252 | font-size: ($h3-size-l-tab / $body-copy-size) * 1em; 253 | letter-spacing: normal; 254 | line-height: $h3-lh-l-tab; 255 | margin-top: (20 / $h3-size-l-tab) * 1em; 256 | margin-bottom: (10 / $h3-size-l-tab) * 1em; 257 | margin-left: 0; 258 | margin-right: 0; 259 | } 260 | @media (min-width: $rwt-mq-desk) { 261 | font-size: ($h3-size-desk / $body-copy-size) * 1em; 262 | letter-spacing: normal; 263 | line-height: $h3-lh-desk; 264 | margin-top: (20 / $h3-size-desk) * 1em; 265 | margin-bottom: (10 / $h3-size-desk) * 1em; 266 | margin-left: 0; 267 | margin-right: 0; 268 | } 269 | @media (min-width: $rwt-mq-l-desk) { 270 | font-size: ($h3-size-l-desk / $body-copy-size-l) * 1em; 271 | letter-spacing: normal; 272 | line-height: $h3-lh-l-desk; 273 | margin-top: (20 / $h3-size-l-desk) * 1em; 274 | margin-bottom: (10 / $h3-size-l-desk) * 1em; 275 | margin-left: 0; 276 | margin-right: 0; 277 | } 278 | .wf-inactive & { 279 | font-family: $sans-serif-fallback; 280 | @media (min-width: $rwt-mq-s-tab) { 281 | 282 | } 283 | @media (min-width: $rwt-mq-l-tab) { 284 | 285 | } 286 | @media (min-width: $rwt-mq-desk) { 287 | letter-spacing: -0.0075em; 288 | } 289 | @media (min-width: $rwt-mq-l-desk) { 290 | 291 | } 292 | } 293 | } 294 | 295 | h4 { 296 | color: $header-color; 297 | font-family: $sans-serif; 298 | font-size: ($h4-size-p / $body-copy-size) * 1em; 299 | letter-spacing: normal; 300 | line-height: $h4-lh-p; 301 | margin-top: (15 / $h4-size-p) * 1em; 302 | margin-bottom: (5 / $h4-size-p) * 1em; 303 | margin-left: 0; 304 | margin-right: 0; 305 | @media (min-width: $rwt-mq-s-tab) { 306 | font-size: ($h4-size-s-tab / $body-copy-size) * 1em; 307 | letter-spacing: normal; 308 | line-height: $h4-lh-s-tab; 309 | margin-top: (15 / $h4-size-s-tab) * 1em; 310 | margin-bottom: (5 / $h4-size-s-tab) * 1em; 311 | margin-left: 0; 312 | margin-right: 0; 313 | } 314 | @media (min-width: $rwt-mq-l-tab) { 315 | font-size: ($h4-size-l-tab / $body-copy-size) * 1em; 316 | letter-spacing: normal; 317 | line-height: $h4-lh-l-tab; 318 | margin-top: (15 / $h4-size-l-tab) * 1em; 319 | margin-bottom: (5 / $h4-size-l-tab) * 1em; 320 | margin-left: 0; 321 | margin-right: 0; 322 | } 323 | @media (min-width: $rwt-mq-desk) { 324 | font-size: ($h4-size-desk / $body-copy-size) * 1em; 325 | letter-spacing: normal; 326 | line-height: $h4-lh-desk; 327 | margin-top: (15 / $h4-size-desk) * 1em; 328 | margin-bottom: (5 / $h4-size-desk) * 1em; 329 | margin-left: 0; 330 | margin-right: 0; 331 | } 332 | @media (min-width: $rwt-mq-l-desk) { 333 | font-size: ($h4-size-l-desk / $body-copy-size-l) * 1em; 334 | letter-spacing: normal; 335 | line-height: $h4-lh-l-desk; 336 | margin-top: (15 / $h4-size-l-desk) * 1em; 337 | margin-bottom: (5 / $h4-size-l-desk) * 1em; 338 | margin-left: 0; 339 | margin-right: 0; 340 | } 341 | .wf-inactive & { 342 | font-family: $sans-serif-fallback; 343 | @media (min-width: $rwt-mq-s-tab) { 344 | 345 | } 346 | @media (min-width: $rwt-mq-l-tab) { 347 | 348 | } 349 | @media (min-width: $rwt-mq-desk) { 350 | letter-spacing: -0.035em; 351 | font-size: 1.35em 352 | } 353 | @media (min-width: $rwt-mq-l-desk) { 354 | 355 | } 356 | } 357 | } 358 | 359 | h5 { 360 | color: $header-color; 361 | font-family: $sans-serif; 362 | @media (min-width: $rwt-mq-s-tab) { 363 | 364 | } 365 | @media (min-width: $rwt-mq-l-tab) { 366 | 367 | } 368 | @media (min-width: $rwt-mq-desk) { 369 | 370 | } 371 | @media (min-width: $rwt-mq-l-desk) { 372 | 373 | } 374 | .wf-inactive & { 375 | font-family: $sans-serif-fallback; 376 | @media (min-width: $rwt-mq-s-tab) { 377 | 378 | } 379 | @media (min-width: $rwt-mq-l-tab) { 380 | 381 | } 382 | @media (min-width: $rwt-mq-desk) { 383 | 384 | } 385 | @media (min-width: $rwt-mq-l-desk) { 386 | 387 | } 388 | } 389 | } 390 | 391 | h6 { 392 | color: $header-color; 393 | font-family: $sans-serif; 394 | @media (min-width: $rwt-mq-s-tab) { 395 | 396 | } 397 | @media (min-width: $rwt-mq-l-tab) { 398 | 399 | } 400 | @media (min-width: $rwt-mq-desk) { 401 | 402 | } 403 | @media (min-width: $rwt-mq-l-desk) { 404 | 405 | } 406 | .wf-inactive & { 407 | font-family: $sans-serif-fallback; 408 | @media (min-width: $rwt-mq-s-tab) { 409 | 410 | } 411 | @media (min-width: $rwt-mq-l-tab) { 412 | 413 | } 414 | @media (min-width: $rwt-mq-desk) { 415 | 416 | } 417 | @media (min-width: $rwt-mq-l-desk) { 418 | 419 | } 420 | } 421 | } 422 | 423 | p { 424 | margin: 0 0 1em 0; 425 | max-width: 40em; 426 | } 427 | 428 | a { 429 | display: inline-block; 430 | @include transition(background 0.2s ease-in-out, color 0.2s ease-in-out); 431 | &:link { 432 | @include nicelink($link-color-link, $page-background); 433 | } 434 | &:visited { 435 | @include nicelink($link-color-visited, $page-background); 436 | } 437 | &:hover { 438 | @include nicelink($link-color-hover, $page-background); 439 | } 440 | &:focus { 441 | @include nicelink($link-color-focus, $page-background); 442 | } 443 | &:active { 444 | @include nicelink($link-color-active, $page-background); 445 | } 446 | } 447 | 448 | 449 | /* Initial Cap styles */ 450 | 451 | %initial_cap { 452 | font-size: 3em; 453 | font-family: $sans-serif; 454 | line-height: 0.9em; 455 | float: left; 456 | padding-right: 0.1em; 457 | .wf-inactive & { 458 | font-family: $sans-serif-fallback; 459 | font-size: 2.75em; 460 | padding-right: 0.05em; 461 | } 462 | } 463 | .article-text p:first-of-type:first-letter { 464 | @extend %initial_cap; 465 | } 466 | 467 | /* To work in older versions of IE you have to target an adjacent selector because first-of-type doesn't work */ 468 | .lt-ie9 .article-text h2 + p:first-letter { 469 | @extend %initial_cap; 470 | } 471 | 472 | 473 | 474 | 475 | -------------------------------------------------------------------------------- /sass/demo_layout.scss: -------------------------------------------------------------------------------- 1 | @import 'base'; 2 | 3 | /* Page furniture */ 4 | .page { 5 | width: 100%; /* this is somewhat arbitrary - just a value that is close to full width but leaves a bit of margin */ 6 | margin: 0 auto; /* make sure the page area stays centered */ 7 | > header { 8 | padding: 0 0.75em; 9 | } 10 | > .main { 11 | padding: 0 0.75em; 12 | } 13 | > footer { 14 | padding: 0 0.75em; 15 | } 16 | } 17 | 18 | 19 | @media (min-width: $mq-s-tab) { 20 | .page { 21 | width: 96%; 22 | max-width: 38em; 23 | margin: 0 auto; /* make sure the page area stays centered */ 24 | > header { 25 | padding: 0 0.75em; 26 | } 27 | > .main { 28 | padding: 0 0.75em; 29 | } 30 | > footer { 31 | padding: 0 0.75em; 32 | } 33 | } 34 | } 35 | 36 | @media (min-width: $mq-l-tab) { 37 | .page { 38 | width: 94%; 39 | max-width: 40em; 40 | margin: 0 auto; /* make sure the page area stays centered */ 41 | > header { 42 | padding: 0 0.75em; 43 | } 44 | > .main { 45 | padding: 0 0.75em; 46 | } 47 | > footer { 48 | padding: 0 0.75em; 49 | } 50 | } 51 | } 52 | 53 | @media (min-width: $mq-desk) { 54 | .page { 55 | width: 90%; 56 | max-width: 45em; 57 | margin: 0 auto; /* make sure the page area stays centered */ 58 | > header { 59 | padding: 0 1.5em; 60 | } 61 | > .main { 62 | padding: 0 1.5em; 63 | } 64 | > footer { 65 | padding: 0 1.5em; 66 | } 67 | } 68 | } 69 | 70 | @media (min-width: $mq-l-desk) { 71 | .page { 72 | width: 80%; 73 | max-width: 60em; 74 | > header { 75 | padding: 0 1.5em; 76 | } 77 | > .main { 78 | padding: 0 1.5em; 79 | } 80 | > footer { 81 | padding: 0 1.5em; 82 | } 83 | } 84 | } 85 | 86 | 87 | 88 | -------------------------------------------------------------------------------- /sass/fontface.scss: -------------------------------------------------------------------------------- 1 | $fonts-path: "../fonts/FiraSans"; 2 | 3 | /* @font-face entries for the Fira Sans webfonts */ 4 | /* 'grouped' by family name and assigned to bold/italic styles */ 5 | 6 | @font-face { 7 | font-family: "Fira Sans"; 8 | src: url('#{$fonts-path}/FiraSans-Light.eot'); 9 | src: url('#{$fonts-path}/FiraSans-Light.eot?#iefix') format('eot'), url("#{$fonts-path}/FiraSans-Light.woff") format("woff"); 10 | font-weight: 200; 11 | font-style: normal; 12 | } 13 | 14 | @font-face { 15 | font-family: "Fira Sans"; 16 | src: url('#{$fonts-path}/FiraSans-LightItalic.eot'); 17 | src: url('#{$fonts-path}/FiraSans-LightItalic.eot?#iefix') format('eot'), url("#{$fonts-path}/FiraSans-LightItalic.woff") format("woff"); 18 | font-weight: 200; 19 | font-style: italic; 20 | } 21 | 22 | @font-face { 23 | font-family: "Fira Sans"; 24 | src: url('#{$fonts-path}/FiraSans-Regular.eot'); 25 | src: url('#{$fonts-path}/FiraSans-Regular.eot?#iefix') format('eot'), url("#{$fonts-path}/FiraSans-Regular.woff") format("woff"); 26 | font-weight: normal; 27 | font-style: normal; 28 | } 29 | 30 | @font-face { 31 | font-family: "Fira Sans"; 32 | src: url('#{$fonts-path}/FiraSans-RegularItalic.eot'); 33 | src: url('#{$fonts-path}/FiraSans-RegularItalic.eot?#iefix') format('eot'), url("#{$fonts-path}/FiraSans-RegularItalic.woff") format("woff"); 34 | font-weight: normal; 35 | font-style: italic; 36 | } 37 | 38 | @font-face { 39 | font-family: "Fira Sans"; 40 | src: url('#{$fonts-path}/FiraSans-Medium.eot'); 41 | src: url('#{$fonts-path}/FiraSans-Medium.eot?#iefix') format('eot'), url("#{$fonts-path}/FiraSans-Medium.woff") format("woff"); 42 | font-weight: 500; 43 | font-style: normal; 44 | } 45 | 46 | @font-face { 47 | font-family: "Fira Sans"; 48 | src: url('#{$fonts-path}/FiraSans-MediumItalic.eot'); 49 | src: url('#{$fonts-path}/FiraSans-MediumItalic.eot?#iefix') format('eot'), url("#{$fonts-path}/FiraSans-MediumItalic.woff") format("woff"); 50 | font-weight: 500; 51 | font-style: italic; 52 | } 53 | 54 | @font-face { 55 | font-family: "Fira Sans"; 56 | src: url('#{$fonts-path}/FiraSans-Bold.eot'); 57 | src: url('#{$fonts-path}/FiraSans-Bold.eot?#iefix') format('eot'), url("#{$fonts-path}/FiraSans-Bold.woff") format("woff"); 58 | font-weight: bold; 59 | font-style: normal; 60 | } 61 | 62 | @font-face { 63 | font-family: "Fira Sans"; 64 | src: url('#{$fonts-path}/FiraSans-BoldItalic.eot'); 65 | src: url('#{$fonts-path}/FiraSans-BoldItalic.eot?#iefix') format('eot'), url("#{$fonts-path}/FiraSans-BoldItalic.woff") format("woff"); 66 | font-weight: bold; 67 | font-style: italic; 68 | } 69 | 70 | -------------------------------------------------------------------------------- /sass/ie.scss: -------------------------------------------------------------------------------- 1 | /* Welcome to Compass. Use this file to write IE specific override styles. 2 | * Import this file using the following HTML or equivalent: 3 | * */ 6 | -------------------------------------------------------------------------------- /sass/print.scss: -------------------------------------------------------------------------------- 1 | /* Welcome to Compass. Use this file to define print styles. 2 | * Import this file using the following HTML or equivalent: 3 | * */ 4 | -------------------------------------------------------------------------------- /sass/styles.scss: -------------------------------------------------------------------------------- 1 | /* Import _base.scss variables */ 2 | @import "base"; 3 | 4 | @import "normalize"; 5 | 6 | @import "rwt_scaffold"; 7 | 8 | /******** HELPERS ********/ 9 | 10 | /* apply a natural box layout model to all elements */ 11 | * { 12 | -moz-box-sizing: border-box; 13 | -webkit-box-sizing: border-box; 14 | box-sizing: border-box; 15 | } 16 | 17 | /* end update for semantics */ 18 | 19 | /* 20 | * Clearfix: contain floats 21 | * 22 | * For modern browsers 23 | * 1. The space content is one way to avoid an Opera bug when the 24 | * `contenteditable` attribute is included anywhere else in the document. 25 | * Otherwise it causes space to appear at the top and bottom of elements 26 | * that receive the `clearfix` class. 27 | * 2. The use of `table` rather than `block` is only necessary if using 28 | * `:before` to contain the top-margins of child elements. 29 | */ 30 | /* line 175, ../sass/h5bp_main.scss */ 31 | .clearfix:before, 32 | .clearfix:after { 33 | content: " "; 34 | /* 1 */ 35 | display: table; 36 | /* 2 */ 37 | } 38 | 39 | /* line 180, ../sass/h5bp_main.scss */ 40 | .clearfix:after { 41 | clear: both; 42 | } 43 | 44 | /* 45 | * For IE 6/7 only 46 | * Include this rule to trigger hasLayout and contain floats. 47 | */ 48 | /* line 189, ../sass/h5bp_main.scss */ 49 | .clearfix { 50 | *zoom: 1; 51 | } 52 | 53 | /* useful resets from HTML5 BoilerPlate */ 54 | 55 | /* 56 | * Remove the gap between images and the bottom of their containers: h5bp.com/i/440 57 | */ 58 | /* line 59, ../sass/h5bp_main.scss */ 59 | img { 60 | vertical-align: middle; 61 | } 62 | 63 | /* 64 | * Remove default fieldset styles. 65 | */ 66 | /* line 67, ../sass/h5bp_main.scss */ 67 | fieldset { 68 | border: 0; 69 | margin: 0; 70 | padding: 0; 71 | } 72 | 73 | /* 74 | * Allow only vertical resizing of textareas. 75 | */ 76 | /* line 77, ../sass/h5bp_main.scss */ 77 | textarea { 78 | resize: vertical; 79 | } 80 | 81 | /* Minimal page design to provide visual structure */ 82 | .page { 83 | background-color: #fdfdfd; 84 | } 85 | 86 | 87 | 88 | /* Make sure this is last - helps correct for an orientation scale bug in iOS */ 89 | 90 | @media screen and (orientation:landscape) and (device-width:320px) and (device-height: 480px) { 91 | body { 92 | width: 480px; 93 | } 94 | }/*/mediaquery*/ 95 | 96 | --------------------------------------------------------------------------------