Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Using DIV in 0.8

Deplate
kLy
2007-09-18
2013-04-17
  • kLy
    kLy
    2007-09-18

    Hi

    It looks like when using the KOMA DIV tag in 0.8, it adds the clause to the documentclass rather than typearea, ie. you get this:

    \documentclass[DIV20,11pt,a4paper,english]{article}
    \usepackage[latin1]{inputenc}
    \usepackage{typearea}

    rather than this:

    \documentclass[11pt,a4paper,english]{article}
    \usepackage[latin1]{inputenc}
    \usepackage[DIV20]{typearea}

    Can you confirm?

    Thanks!

     
    • kLy
      kLy
      2007-09-18

      Okay, I had a look at the source and it looks like you're using:

              if div
                  # add_package("typearea", "DIV#{div}")
                  add_package('typearea')
                  lco.unshift("DIV#{div}")
              end

      Howcome you changed this? It no longer seems to work with my install of latex (ie. page borders etc. no longer change).

      Thx

       
      • Tom Link
        Tom Link
        2007-09-18

        AFAIK the arguments of the documentclass are passed through to the packages. I ran into some difficulties that caused me to do this. Unfortunately the change log entry doesn't say much about this.

        Which koma version do you use? Maybe the class/package has changed. Mine is:

        Document Class: scrartcl 2004/01/07 v2.9p LaTeX2e KOMA document class
        Package scrlfile, 2004/01/07 v2.9p LaTeX2e KOMA package
                          Copyright (C) Markus Kohm
        Package typearea, 2004/01/07 v2.9p LaTeX2e KOMA package
                          Copyright (C) Frank Neukam, 1992-1994
                          Copyright (C) Markus Kohm, 1994-2002

         
    • kLy
      kLy
      2007-09-24

      Hi

      Mine is:

      2004/09/16 v2.9t LaTeX2e KOMA

      It came with my tetex distro (v3.0) in MacPorts.

      I've currently just fudged the ruby line (bad, bad, bad!) to make it use the old implementation again

      Thanks!