Menu

#5212 Allow quoted strings as Scheme arguments to markup commands

Fixed
Enhancement
2017-10-14
2017-10-05
No

Allow quoted strings as Scheme arguments to markup commands

After issue 5113, quoted strings and non-quoted strings are
distinguished in the lexer. This makes it feasible for Scheme-type
arguments of markup commands to accept quoted strings. Unquoted
strings (token SYMBOL in the lexer) remain out of consideration since
it would be hard to explain why 0.0 is acceptable as a string?
argument but not as number? : in markup mode, most character sequences
end up as "SYMBOL" by default in order to allow typesetting of text
blocks.

Also contains commit:

Add convert-ly rule for markup command arg #" -> "

http://codereview.appspot.com/331820043

Discussion

  • David Kastrup

    David Kastrup - 2017-10-05

    (Re-)run scripts/auxiliar/update-with-convert-ly.sh

    http://codereview.appspot.com/331820043

     
  • Anonymous

    Anonymous - 2017-10-05

    Passes make, make check and a full make doc

     
  • Anonymous

    Anonymous - 2017-10-05
    • Description has changed:

    Diff:

    
    
    • Needs: -->
    • Patch: new --> review
    • Type: --> Enhancement
     
  • David Kastrup

    David Kastrup - 2017-10-07

    Additional convert-ly rules

    http://codereview.appspot.com/331820043

     
  • David Kastrup

    David Kastrup - 2017-10-07

    Run makelsr.py for fixing a few \version statements

    http://codereview.appspot.com/331820043

     
  • Anonymous

    Anonymous - 2017-10-07
    • Needs: -->
    • Patch: new --> review
    • Type: --> Enhancement
     
  • Anonymous

    Anonymous - 2017-10-07

    Passes make, make check and a full make doc.

     
  • Anonymous

    Anonymous - 2017-10-08
    • Patch: review --> countdown
     
  • Anonymous

    Anonymous - 2017-10-08

    Patch on countdown for October 11th

     
  • Anonymous

    Anonymous - 2017-10-11
    • Patch: countdown --> push
     
  • Anonymous

    Anonymous - 2017-10-11

    Patch counted down - please push

     
  • Anonymous

    Anonymous - 2017-10-14

    Patch counted down - please push

     
  • Anonymous

    Anonymous - 2017-10-14
    • labels: --> Fixed_2_21_0
    • status: Started --> Fixed
    • Patch: push -->
     
  • Anonymous

    Anonymous - 2017-10-14
    Issue 5212/1: Allow quoted strings as Scheme arguments to markup commands
    author  David Kastrup <dak@gnu.org> 
        Thu, 5 Oct 2017 10:28:18 +0100 (11:28 +0200)
    committer   David Kastrup <dak@gnu.org> 
        Sat, 14 Oct 2017 16:08:54 +0100 (17:08 +0200)
    commit  7e39a11c08e6a2a321a2da9c81bd0c62ff6da006
    
    Issue 5212/2: Add convert-ly rule for markup command arg #" -> "
    author  David Kastrup <dak@gnu.org> 
        Thu, 5 Oct 2017 11:14:55 +0100 (12:14 +0200)
    committer   David Kastrup <dak@gnu.org> 
        Sat, 14 Oct 2017 16:08:54 +0100 (17:08 +0200)
    commit  355f5fbc84819396ca8c7da52312f2137ca919b3
    
    Issue 5212/3: Adapt scm/accreg.scm for markup arg #" -> #
    author  David Kastrup <dak@gnu.org> 
        Sat, 7 Oct 2017 09:51:30 +0100 (10:51 +0200)
    committer   David Kastrup <dak@gnu.org> 
        Sat, 14 Oct 2017 16:08:54 +0100 (17:08 +0200)
    commit  eb790eb9849888cafeda0a61168ffdd271a1a426