Skip to content

Latest commit

 

History

History
99 lines (72 loc) · 4.22 KB

Latex.md

File metadata and controls

99 lines (72 loc) · 4.22 KB

ProblemsDescription:

1. Change page size.
   Some submitting system requires A4 or letter size paper.
   
2. Fonts not embeded in EDAS.
   A PDF font is not embedded in EDAS submitting system.
   
3. Bookmarks and external links.
   Some times bookmarks and external links are not permitted in this submitting system.
   
4. Figure(.png, .jpeg, .tiff) to eps file is not complete.   
   Some figures canot show completely when converted to eps files directly. We resolve this by converting to eps first, next writing        as ps in GSview of WinEdt, finally converting to eps again! 
   
5. !pdfTeX error: pdflatex (file mtex.pfb): cannot open Type 1 font file for reading in MikTex.
   This error appears in MikTex release version or MikTex based release version, e.g., CTX. We recommand to use Texlive release            version which can avoid this problem directly. In MikTex, we also give an solution of this problem. 

Solutions:

1. Change page size.
  Recommandation.
  (1) Texify yourfile.tex in cmd or just use Texify in WinEdt
  (2) dvips -t letter -Ppdf -G0 -j0 yourfile.dvi -o yourfle.ps
  (3) pspdf in WinEdt
  Another way may works.
  (1) Texify yourfile.tex in cmd or just use Texify in WinEdt
  (2) dvips in WinEdt
  (3) open in GSview; Print; Choosing page size in Adobe PDF converter setting!
  
2. Fonts not embeded in EDAS.
  (1) Texify yourfile.tex in cmd or just use Texify in WinEdt
  (2) Dvips yourfile.dvi in cmd or just us dvips in WinEdt
  (3) ps2pdf -dEmbedAllFonts=true -dSubsetFonts=true -dEPSCrop=true -dPDFSETTINGS=/prepress yourfile.ps
  Pdf with embedded should be generated by these three steps.
  
3. Bookmarks and external links.
  (1) \usepackage[draft]{hyperref}
  (2) Check if there exists any hyperlink in Acrobat Pro which has this function in Editing.
  
4. Figure(.png, .jpeg, .tiff) to eps file is not complete.   
  (1) Convert figure to eps
     sam2p foo.png foo.eps
     bmeps -c foo.png foo.eps
  (2) Convert eps to ps in GSview
     ps2write 600
  (3) Convert ps to eps in GSview

5. Cannot open Type 1 font file for reading in MikTex. (Only for MikTex and MikTex based release version)
  (1) Run the following line in windows cmd.
      initexmf --edit-config-file updmap
  (2) Adding the following lines in the opend txt.
      # belleek mathtime
      Map mt-belleek.map
      # YY mathtime
      #Map mt-yy.map
      #Map mt-plus.map
  (3) Run this cmd to updating mapping config. 
      initexmf --mkmaps --verbose
  (4) Now the tex file should be compiled successfully by Pdftexify or Texify in WinEdt.
      a. Pdftexify will generate pdf without any problem directly.
      b. We can config WinEdt to use the Tex package of Texlive. 
         In >Options>Configurations, we can choose which Latex release we use in WinEdt. 
         It can also works well by choosing the installed texlive.
      c. Texify generates a dvi file. However, the pdf file is not complete if converting dvi to pdf by dvipdf directly. 
         Two successful methods provided here.
         Noting that GSview should be opened in WinEdt directly. Otherwise, only i. will work.
         i.  Convert dvi to ps; Open ps in GSview; 
             Write as pdf by pdfwrite in GSviw (Convert).
         ii. Convert dvi to ps; Open ps in GSview; 
             Write as eps by ps2write in GSviw (Convert); 
             Convert eps to pdf by Adobe.

References:

  1. https://edas.info/faq109

    https://dazzae.wordpress.com/2012/08/01/one-or-more-fonts-are-not-embedded-see-edas-faq/

  2. https://blog.csdn.net/xu_fengyu/article/details/87192066

    https://www.zhihu.com/question/24975110

  3. https://www.aeaweb.org/content/file?id=3042

    https://tex.stackexchange.com/questions/152721/problems-with-fonts/152749

    http://www.tug.org/fonts/fontinstall.html

    https://tex.stackexchange.com/questions/88423/manual-font-installation/88424#88424

    https://blog.csdn.net/xu_fengyu/article/details/87192066