src/Pure/Admin/build_easychair.scala
changeset 76479 8ac1d83301b5
parent 76398 fc35958d2e73
child 76518 b30b8e23383c
equal deleted inserted replaced
76478:d84568379f3f 76479:8ac1d83301b5
     1 /*  Title:      Pure/Admin/build_easychair.scala
     1 /*  Title:      Pure/Admin/build_easychair.scala
     2     Author:     Makarius
     2     Author:     Makarius
     3 
     3 
     4 Build Isabelle component for Easychair style.
     4 Build Isabelle component for Easychair LaTeX style.
     5 
     5 
     6 See also https://easychair.org/publications/for_authors
     6 See also https://easychair.org/publications/for_authors
     7 */
     7 */
     8 
     8 
     9 package isabelle
     9 package isabelle
    78 
    78 
    79 
    79 
    80   /* Isabelle tool wrapper */
    80   /* Isabelle tool wrapper */
    81 
    81 
    82   val isabelle_tool =
    82   val isabelle_tool =
    83     Isabelle_Tool("build_easychair", "build component for Easychair style",
    83     Isabelle_Tool("build_easychair", "build component for Easychair LaTeX style",
    84       Scala_Project.here,
    84       Scala_Project.here,
    85       { args =>
    85       { args =>
    86         var target_dir = Path.current
    86         var target_dir = Path.current
    87         var download_url = default_url
    87         var download_url = default_url
    88 
    88 
    91 
    91 
    92   Options are:
    92   Options are:
    93     -D DIR       target directory (default ".")
    93     -D DIR       target directory (default ".")
    94     -U URL       download URL (default: """" + default_url + """")
    94     -U URL       download URL (default: """" + default_url + """")
    95 
    95 
    96   Build component for Easychair style.
    96   Build component for Easychair LaTeX style.
    97 """,
    97 """,
    98           "D:" -> (arg => target_dir = Path.explode(arg)),
    98           "D:" -> (arg => target_dir = Path.explode(arg)),
    99           "U:" -> (arg => download_url = arg))
    99           "U:" -> (arg => download_url = arg))
   100 
   100 
   101         val more_args = getopts(args)
   101         val more_args = getopts(args)