Advertisement
Guest User

Untitled

a guest
Aug 20th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.83 KB | None | 0 0
  1. documentclass[10pt,a5paper,twoside]{memoir}
  2.  
  3. usepackage[T1]{fontenc}
  4. usepackage[utf8]{inputenc}
  5.  
  6. usepackage[brazil]{babel}
  7. usepackage[showframe,pass]{geometry}
  8.  
  9. newififdebug
  10. debugtrue
  11. % debugfalse
  12.  
  13. ifdebug
  14. % defincludegraphics{includegraphics}
  15. newcommand{includegraphics}{includegraphics}
  16. elsefi
  17.  
  18. begin{document}
  19.  
  20. includegraphics[width=linewidth]{pictures/ex01}
  21.  
  22. end{document}
  23.  
  24. ! Missing number, treated as zero.
  25. <to be read again>
  26. ]
  27. l.86 includegraphics[width=linewidth]
  28. {pictures/ex01}
  29. A number should have been here; I inserted `0'.
  30. (If you can't figure out why I needed to see a number,
  31. look up `weird error' in the index to The TeXbook.)
  32.  
  33. ! Illegal unit of measure (pt inserted).
  34. <to be read again>
  35. ]
  36. l.86 includegraphics[width=linewidth]
  37. {pictures/ex01}
  38. Dimensions can be in units of em, ex, in, pt, pc,
  39. cm, mm, dd, cc, nd, nc, bp, or sp; but yours is a new one!
  40. I'll assume that you meant to say pt, for printer's points.
  41. To recover gracefully from this error, it's best to
  42. delete the erroneous units; e.g., type `2' to delete
  43. two letters. (See Chapter 27 of The TeXbook.)
  44.  
  45. @ifundefined{longtable}
  46. {
  47. newenvironment{longtable}[0]
  48. {longtable environment parverbatimtiny}
  49. {endverbatimendgrafnormalfont replacement for debug mode}
  50. }{}
  51.  
  52. newcommand{includegraphics}[2]{parverbatimtiny includegraphics #1 #2 endverbatimendgrafnormalfont}
  53.  
  54. File: t1cmtt.fd 2014/09/29 v2.5h Standard LaTeX font definitions
  55. )
  56. Runaway argument?
  57. ! Paragraph ended before next was complete.
  58. <to be read again>
  59. par
  60. l.87
  61.  
  62. I suspect you've forgotten a `}', causing me to apply this
  63. control sequence to too much text. How can we recover?
  64. My plan is to forget the whole thing and hope for the best.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement