{"issue":{"created_at":"2011-11-29T01:32:17Z","state":"open","updated_at":"2011-11-29T01:32:17Z","comments":0,"user":{"gravatar_id":"be985e107f5024734748ee79caba61b7","id":367903,"url":"https://api.github.com/users/rschroll","avatar_url":"https://secure.gravatar.com/avatar/be985e107f5024734748ee79caba61b7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"rschroll"},"body":"We should make a reasonable attempt at importing existing LaTeX presentations.  We will need a set of import rules.  I see three possibilities:\r\n\r\n1. Have the import rules be Python code that takes a LaTeX file and inserts the SlideDeX comments as appropriate.\r\n2. Have some syntax specifying where to split the LaTeX file into slides.\r\n3. Analyze the templates (#9) to try to find things that look like the slide skeletons.\r\n\r\nI'm very tempted by (3), since it means the import rules don't need to be explicitly listed.  But it will require some kind of fuzzy reasoning to try to figure out what is a slide.\r\n\r\nWe don't have to be perfect, but if we're less than 90% accurate, the \"automatic\" import will be more of a pain than doing it by hand.\r\n\r\nWe should make a guess about which template to use for import, but inform the user and let them change it before doing anything.  Also, we should make a backup of the LaTeX file before we completely screw it up.","assignee":null,"id":2375916,"number":11,"labels":[],"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"Import non-SlideDeX presentations","closed_at":null,"html_url":"https://github.com/rschroll/slidedex/issues/11","url":"https://api.github.com/repos/rschroll/slidedex/issues/11","milestone":null},"action":"opened"}