manifest 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. # pdf2htmlEX manifest
  2. # Copyright (C) 2012,2013 Lu Wang <coolwanglu@gmail.com>
  3. #
  4. # Syntax
  5. # The first char of each line is the command
  6. # Empty lines are ignored
  7. #
  8. # # - comment
  9. # @ - embed or link to a file from data dir, depending on the values of --embed-*** options
  10. # $ - special use for pdf2htmlEX
  11. #
  12. # Special
  13. # If a line contains """ only, all text until next """ will be included
  14. # #TEST_IGNORE_BEGIN & #TEST_IGNORE_END are used for unittest
  15. #############
  16. # Declaration - Do not modify
  17. """
  18. <!DOCTYPE html>
  19. <!-- Created by pdf2htmlEX (https://github.com/coolwanglu/pdf2htmlex) -->
  20. <html xmlns="http://www.w3.org/1999/xhtml">
  21. <head>
  22. <meta charset="utf-8"/>
  23. <meta name="generator" content="pdf2htmlEX"/>
  24. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
  25. """
  26. #############
  27. # Styles
  28. # base CSS styles - Do not modify
  29. @base.min.css
  30. # fancy CSS styles - Optional
  31. @fancy.min.css
  32. # PDF specific CSS styles - Do not modify
  33. $css
  34. #############
  35. # UI stuffs, optional
  36. # compatibility.min.js, extracted from PDF.js
  37. # To support old browsers like IE9
  38. #TEST_IGNORE_BEGIN
  39. @compatibility.min.js
  40. #TEST_IGNORE_END
  41. # entry point of pdf2htmlEX.Viewer
  42. # You can override default configuration by passing an object to the constructor of Viewer
  43. # Refer to DEFAULT_CONFIG in viewer.js for possible keys
  44. # E.g.
  45. # pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({
  46. # 'key_handler' : false
  47. # });
  48. #TEST_IGNORE_BEGIN
  49. @pdf2htmlEX.min.js
  50. """
  51. <script>
  52. try{
  53. pdf2htmlEX.defaultViewer = new pdf2htmlEX.Viewer({});
  54. }catch(e){}
  55. </script>
  56. """
  57. #TEST_IGNORE_END
  58. #############
  59. # Do not modify
  60. """
  61. <title></title>
  62. </head>
  63. <body>
  64. """
  65. #############
  66. # The sidebar
  67. # By default this is hidden, pdf2htmlEX.js will add the 'opened' class if it is not empty
  68. # You can add a class 'opened' here if you want it always opened or you don't use pdf2htmlEX.js
  69. # e.g.
  70. # <div id="sidebar" class="opened">
  71. #TEST_IGNORE_BEGIN
  72. """
  73. <div id="sidebar">
  74. """
  75. # container of outlines
  76. """
  77. <div id="outline">
  78. """
  79. $outline
  80. """
  81. </div>
  82. </div>
  83. """
  84. #TEST_IGNORE_END
  85. #############
  86. # The container of PDF pages
  87. # check base.css for an example and requirements of its CSS styles
  88. """
  89. <div id="page-container">
  90. """
  91. $pages
  92. """
  93. </div>
  94. """
  95. #############
  96. # The loading indicator
  97. # shown when loading a page via ajax
  98. # The default appearance should be invisible
  99. # The 'active' class will be added when it is used
  100. #TEST_IGNORE_BEGIN
  101. """
  102. <div class="loading-indicator">
  103. """
  104. @pdf2htmlEX-64x64.png
  105. """
  106. </div>
  107. """
  108. #TEST_IGNORE_END
  109. #############
  110. # Do not modify
  111. """
  112. </body>
  113. </html>
  114. """
  115. # MANIFEST END