1. Trammell Hudson
  2. Magic Lantern
  3. Issues
Issue #1 resolved

Menu is not cleared when picture style button is pressed

Trammell Hudson
repo owner created an issue

If the zebras are not being drawn, the menu is not erased from the display. Calling bmp_fill() causes err70 while recording.

Comments (11)

  1. G. Condello

    doc/UserGuide-cam.tex: fix hyperlinks handling

    During 'make docs' lualatex can't correctly call the ShowLink("#1", "#2") lua function in the UserGuide-cam.tex file if function's argument contain the '#' or '%' symbol. So all http hyperrefs like 'enfuse.html#Focus-Stacks' or containing spaces (something like http://magiclantern.wikia.com/wiki/External\%20Recorders) are affected.

    The doc/mkdoc.py scripts (these actually run latex) ignore the error. To reproduce the error you need to run latex manually, e.g.:

    $ make docs
    ...
    $ cd doc
    $ lualatex UserGuide-cam.tex
    

    Here is the error log:

    ! LuaTeX error [string "\directlua "]:1: invalid escape sequence near '\#'.
    \href #1#2^^@-\directlua {ShowLink("#1", "#2")}
    l.509 ...t=0&sk=t&sd=a&start=330\#p164691}{(source)}
    

    As we don't need any hyperlinks in in-camera documentation we can convert the hyperlinks to plain text in more more straightforward way using the latex 'hyperref' package' option.

    → <<cset f775ddd4cee5>>

  2. Log in to comment