Sha256: 09b3847083559c7ee135a1c8640b2cfc2ced97be7bd337fd4c0607abfe52da30

Contents?: true

Size: 1.61 KB

Versions: 4

Compression:

Stored size: 1.61 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     |

	Scenarios: Quotation marks
  	| latex   | unicode | description         |
	  | ``      | “       | left double quotes  |
		| ''      | ”       | right double quotes |
	  | `       | ‘       | left single quotes  |
		| '       | ’       | right single quotes |

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
latex-decode-0.0.9 features/punctuation.feature
latex-decode-0.0.8 features/punctuation.feature
latex-decode-0.0.7 features/punctuation.feature
latex-decode-0.0.6 features/punctuation.feature