Sha256: a127809722bb2b849e5db14edfa5ed12d2eafa269437bad45f289fef2240c615

Contents?: true

Size: 1.92 KB

Versions: 10

Compression:

Stored size: 1.92 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             | ⟩       |
    | \\textquotesingle    | ’       |


  Scenarios: Punctuation symbols
    | latex              | unicode | description |
    | -                  | -       | hyphen      |
    | --                 | –       | en-dash     |
    | ---                | —       | em-dash     |
    | \\~{}              | ~       | tilde       |
    | \\textasciitilde{} | ~       | tilde       |
    | \\textasciitilde   | ~       | tilde       |
    | X\\ X              | X X     | space       |

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

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
latex-decode-0.4.0 features/punctuation.feature
latex-decode-0.3.2 features/punctuation.feature
metanorma-cli-1.3.4 gems/ruby/2.6.0/gems/latex-decode-0.3.1/features/punctuation.feature
metanorma-cli-1.3.3.1 gems/ruby/2.6.0/gems/latex-decode-0.3.1/features/punctuation.feature
latex-decode-0.3.1 features/punctuation.feature
latex-decode-0.3.0 features/punctuation.feature
bibtex_to_scrapbox-0.2.0 gems/gems/latex-decode-0.2.2/features/punctuation.feature
bibtex_to_scrapbox-0.1.0 gems/gems/latex-decode-0.2.2/features/punctuation.feature
latex-decode-0.2.2-java features/punctuation.feature
latex-decode-0.2.2 features/punctuation.feature