
"""
Python class for carnap-compact.cls
which is the documant class of the carnap edition

FOR USE IN valeptex ONLY

"""

from parser_classes import *


# Parts and Sections
class editorpart(Section):
    args = 'self'
    level = -2

class diaries(Environment, Division):
    args = '[ alttitle ] title'

class editorpart(Environment, Division):
    args = ''

class tbentry(Format):
    args = 'day:int month:int year:int text'

class tbentrysp(Format):
    args = 'day:int month:int year:int text'

class tbentrylong(Format):
    args = 'day:int month:int year:int text'

class tbentryllong(Format):
    args = 'day:int month:int year:int text'

class endentry(Command):
    args = ''

class diary(Section):
    args = '[ addtext ] num text'
    level = 16

class tbmanyentries(Format):
    args = 'self'

# Format for the html list 
# in both klammerabsatz and klammerleseliste: 
# 0 table width, 1 cell width, 2 cell height, 
# 3 cell valign, 4 caption text-align, 
# 5 caption rotate, 6 caption width 
# 7 caption margin-left 
# 8 table margin-top 9 table margin-bottom
class klammerabsatz(Command):
    args = '[ html:list ] ratio block caption'

class klammerleseliste(Command):
    args = '[ html:list ] ratio block caption'

class diarylike(Section):
    args = 'self'
    level = 16

class leseliste(Format):
    args = 'label text author title'

class leselistex(Format):
    args = 'label text author title'

class leselistea(Format):
    args = 'label text author title'

class semester(Section):
    args = '* self'
    level = 3

class vorlesungen(Environment, Division):
    args = ''

class brief(Section):
    args = '[ alttitle ] title date'
    level = 16

class adresse(Command):
    args = 'left right'

class betreff(Command):
    args = 'self'

class anrede(Command):
    args = 'self'

class haupttext(Command, Division):
    args = 'self'

class grussformel(Command):
    args = 'self'

class briefanhang(Command, Division):
    args = 'self'

class ebericht(Command):
    args = 'self'
    level = 17

# Notes, Indices and references
class labelcn(Label):
    args = 'self'

class refcn(Ref):
    args = 'self'

class pagerefcn(Ref):
    args = 'self'

class diaryref(Ref):
    args = 'self'

class fnE(Note):
    args = 'self'

class fnEmark(Note):
    args = 'self'

class fnEtext(Note):
    args = 'self'

class fnSE(Note):
    args = 'self'

class fnED(Note):
    args = 'self'

class fnSEmark(Note):
    args = 'self'

class fnSEtext(Note):
    args = 'self'

class footnoteM(Note):
    args = 'self'

class fnA(Note):
    args = 'self'

class fnAmargin(Note):
    args = 'self'

class fnAmark(Note):
    args = 'self'

class fnAtext(Note):
    args = 'self'

class fnAD(Note):
    args = 'self'

class fnADmark(Note):
    args = 'self'

class fnADtext(Note):
    args = 'self'

class fnC(Note):
    args = 'self'

class fnCmark(Note):
    args = 'self'

class fnCtext(Note):
    args = 'self'

class fnM(Note):
    args = 'self'

class fnMmark(Note):
    args = 'self'

class fnMtext(Note):
    args = 'self'

class cnoteplain(Note):
    args = 'self'

class cnotemargin(Note):
    args = 'self'

class IN(Index):
    args = 'self'

class II(Index):
    args = 'self'

class IO(Index):
    args = 'self'

class IC(Index):
    args = 'self'

class IW(Index):
    args = 'self'

class IWH(Index):
    args = 'self'

class ort(Index):
    args = 'self'

class setort(Index):
    args = 'self'

class lithrsg(Item):
    args = 'self'

class lithrsga(Item):
    args = 'self'
    
class lithrsgab(Item):
    args = 'self'
    
class lithrsgb(ItemWithContent):
    args = 'self'
    
class lithrsgcarnap(ItemWithContent):
    args = 'self'
    
class lithrsgcarnapa(ItemWithContent):
    args = 'self'
    
class lithrsgcarnapab(ItemWithContent):
    args = 'self'
    
class lithrsgcarnapb(ItemWithContent):
    args = 'self'

# Textcritical markup 
class sout(Format, Ignore):
    args = 'self'

class rmsout(Format, Ignore):
    args = 'self'

class soutl(Format, Ignore):
    args = 'self'

class topsout(Format, Ignore):
    args = 'self'

class soutinul(Format, Ignore):
    args = 'self'

class soutsp(Format, Ignore):
    args = 'self'

class editor(Format):
    args = 'self'

class ekl(Format):
    args = 'self'

class ekll(Format):
    args = 'self'

class textkritik(Format):
    args = 'self'

class textkritikl(Format):
    args = ''

class textkritikr(Format):
    args = ''

class editorl(Format):
    args = 'self'

class textspl(Format):
    args = 'self'
    
class original(Format):
    args = 'self'

class editorstr(Format, Ignore):
    args = 'self'

class editorstrl(Format, Ignore):
    args = 'self'

class uline(Format):
    args = 'self'

class ulinestr(Format):
    args = 'self'

class ulinesp(Format):
    args = 'self'

class textsp(Format):
    args = 'self'

class replsp(Format):
    args = 'soutsp textsp'

class textspkl(Format):
    args = 'self'

class unsicher(Format):
    args = 'self'

class unl(TextMacro):
    args = ''

class unlNoBlack(TextMacro):
    args = ''

class unll(TextMacro):
    args = ''

class gestrunl(TextMacro):
    args = ''

class gestrunll(TextMacro):
    args = ''

class gestrunlNoBlack(TextMacro):
    args = ''

class luecke(TextMacro):
    args = ''
    
class textwh(Format):
    args = 'self'

class textwhl(Format):
    args = 'self'

# Attention: the argument must be implemented as reference to the facsimile
class neueseite(Format):
    args = 'self'

class ersteseite(Format):
    args = 'self'

class tboneA(Format):
    args = 'self'

class tbtwoA(Format):
    args = 'self'

class datumkopfzeile(SystemCommand):
    args = 'first second'

class kreuz(TextMacro):
    args = ''

class strich(TextMacro):
    args = ''
    
class kreis(TextMacro):
    args = ''
    
class dreieck(TextMacro):
    args = ''

class Pfund(TextMacro):
    args = ''
    
class lspitz(TextMacro):
    args = ''
    
class rspitz(TextMacro):
    args = ''
    
class lhaken(TextMacro):
    args = ''

class lspitzt(TextMacro):
    args = ''
    
class rspitzt(TextMacro):
    args = ''

class rhaken(TextMacro):
    args = ''
    
class blockade(Note, Ignore):
    args = 'self'
    
class baustelle(Note, Ignore):
    args = 'self'
    
class baustellea(Note, Ignore):
    args = 'self'

class baustellex(Note, Ignore):
    args = 'self'

class lesehalle(TextMacro):
    args = ''

class anderebib(TextMacro):
    args = ''
    
class privat(TextMacro):
    args = ''
    
class gekauft(TextMacro):
    args = ''
    
class geschenkt(TextMacro):
    args = ''
    
class vorgelesen(TextMacro):
    args = ''
    
class umgedrehtesl(TextMacro):
    args = ''
    
class senkrechtkreis(TextMacro):
    args = ''
    
class checkmark(TextMacro):
    args = ''
    
class nichtabgedruckt(SystemCommand, Ignore):
    args = 'self'
    
class entwurf(Format):
    args = 'self'
    
class kurrent(Format):
    args = 'self'
    
class kurzschrift(Format):
    args = 'self'
    
class ksr(TextMacro):
    args = ''

class ksrx(TextMacro):
    args = ''

class textspns(Format, Ignore):
    args = 'self'

class gesperrt(Format):
    args = 'self'

class textls(Format):
    args = 'self'

class textcircledcn(Format):
    args = '[ html ] self'

class foto(SystemCommand, Ignore):
    args = 'self'

class fnEz(SystemCommand):
    args = ''

class fnEv(SystemCommand):
    args = ''

class dickeliniea(TextMacro):
    args = ''

class dickelinieb(TextMacro):
    args = ''

class dickeliniec(TextMacro):
    args = ''

class dickelinied(TextMacro):
    args = ''

class dickeliniee(TextMacro):
    args = ''

class fnAstacked(TextMacro):
    args = ''

class hushall(SystemCommand):
    args = ''

class hushindex(SystemCommand):
    args = ''

class nichtabdrucken(SystemCommand, Ignore):
    args = 'self'
    
class diamondize(Format):
    args = 'self'

class diamondizeNoBlack(Format):
    args = 'self'

class faksimile(Format):
    args = 'self'

class fnAhack(SystemCommand):
    args = 'self'

class fnAreset(SystemCommand):
    args = ''

class funnything(Format):
    args = 'self'

class ifprintindex(SystemCommand):
    args = ''

class lititem(Item):
    pass

class thekurzschrift(SystemCommand):
    args = ''

class Apagebreak(SystemCommand):
    args = ''


