Sha256: 9526877a3ec8770065bc6be1fb55f164b07b3f6c2dd4909f501b801c0a96a032

Contents?: true

Size: 1.35 KB

Versions: 3

Compression:

Stored size: 1.35 KB

Contents

Feature: Decode LaTeX punctuation directives
  As a hacker who works with LaTeX
  I want to be able to decode LaTeX punctuation marks

	Scenario Outline: LaTeX to Unicode transformation
		When I decode the string '<latex>'
		Then the result should be '<unicode>'

	Scenarios: Punctuation macros
		| latex                | unicode |
    | \\textendash         | –       |
    | \\textemdash         | —       |
    | \\textquoteleft      | ‘       |
    | \\textquoteright     | ’       |
    | \\quotesinglbase     | ‚       |
    | \\textquotedblleft   | “       |
    | \\textquotedblright  | ”       |
    | \\quotedblbase       | „       |
    | \\dag                | †       |
    | \\ddag               | ‡       |
    | \\textbullet         | •       |
    | \\dots               | …       |
    | \\textperthousand    | ‰       |
    | \\textpertenthousand | ‱       |
    | \\guilsinglleft      | ‹       |
    | \\guilsinglright     | ›       |
    | \\textreferencemark  | ※       |
    | \\textinterrobang    | ‽       |
    | \\textoverline       | ‾       |
    | \\langle             | ⟨       |
    | \\rangle             | ⟩       |


	Scenarios: Punctuation symbols
		| latex   | unicode | description |
		| -       | -       | hyphen      |
		| --      | –       | en-dash     |
		| ---     | —       | em-dash     |

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
latex-decode-0.0.4 features/punctuation.feature
latex-decode-0.0.3 features/punctuation.feature
latex-decode-0.0.2 features/punctuation.feature