Diff for /loncom/html/adm/help/tex/Authoring_Adding_Pictures.tex between versions 1.4 and 1.5

version 1.4, 2016/08/18 11:36:02 version 1.5, 2016/08/20 14:11:44
Line 3  To add a picture\index{picture} to a pro Line 3  To add a picture\index{picture} to a pro
 be uploaded to your authoring space, then published. Then, in the  be uploaded to your authoring space, then published. Then, in the
 text area of your problem, add the following:  text area of your problem, add the following:
   
 \texttt{<img src=``/res/DOMAIN/AUTHOR/directory-of-picture/picture.jpg'' />}  \texttt{<img src=\char`\"{}/res/DOMAIN/AUTHOR/directory-of-picture/picture.jpg\char`\"{} />}
   
 where DOMAIN is the domain the picture is in, AUTHOR is the person who   where DOMAIN is the domain the picture is in, AUTHOR is the person who 
 published the picture, and the rest is the standard path to the picture.  published the picture, and the rest is the standard path to the picture.
Line 11  published the picture, and the rest is t Line 11  published the picture, and the rest is t
 It is also possible for advanced users to use a script variable in  It is also possible for advanced users to use a script variable in
 the place of the picture URL, like this:  the place of the picture URL, like this:
   
 \texttt{<img src=``\$picture'' />}  \texttt{<img src=\char`\"{}\$picture\char`\"{} />}
   
 and use the string variable \texttt{\$picture} in the script of the problem to   and use the string variable \texttt{\$picture} in the script of the problem to 
 select from several possible pictures. If you do this, you will need  select from several possible pictures. If you do this, you will need

Removed from v.1.4  
changed lines
  Added in v.1.5


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>