Sha256: d7fdac0f98147034c5ba09d0ac54ae0884e199cad229acc26daf0eb13bb6db96

Contents?: true

Size: 1.68 KB

Versions: 7

Compression:

Stored size: 1.68 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     |
    | \\~{}   | ~       | tilde       |

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
latex-decode-0.1.1-java features/punctuation.feature
latex-decode-0.1.1 features/punctuation.feature
latex-decode-0.1.0-java features/punctuation.feature
latex-decode-0.1.0 features/punctuation.feature
latex-decode-0.0.12-java features/punctuation.feature
latex-decode-0.0.12 features/punctuation.feature
latex-decode-0.0.11 features/punctuation.feature