No subject


Fri Dec 14 15:48:43 EST 2012


Here is a one line bash command that checks to make sure all the image link=
s are correct.=C2=A0 This could be added to the documentation Q/A procedure=
.<br>
<br>
for i in `egrep -roh &quot;media/.*\.(JPG|jpg|png|PNG)&quot; | sort | uniq =
`; do [ -f $i ] || echo &quot;File $i not found&quot; ; done<br>
<br>
--<br>
Remington Steed<br>
Electronic Resources Specialist<br>
Hekman Library, Calvin College<br>
<a href=3D"http://library.calvin.edu/" target=3D"_blank">http://library.cal=
vin.edu/</a><br>
<br>
&gt; -----Original Message-----<br>
&gt; From: <a href=3D"mailto:bounces at canonical.com">bounces at canonical.com</=
a> [mailto:<a href=3D"mailto:bounces at canonical.com">bounces at canonical.com</=
a>] On Behalf<br>
&gt; Of Josh Stompro<br>
&gt; Sent: Saturday, September 27, 2014 11:53 PM<br>
&gt; To: Remington Steed<br>
&gt; Subject: [Bug 1374903] [NEW] Docs - Image error in 2.7 reports<br>
&gt; enhancment docs<br>
&gt;<br>
&gt; Public bug reported:<br>
&gt;<br>
&gt; Just noticed that one of the &quot;2.7_Enhancements_to_Reports&quot; i=
mages<br>
&gt; under docs/media is a .png, while all the rest are .jpg.<br>
&gt;<br>
&gt; docs/media/2.7_Enhancements_to_Reports5.png<br>
&gt;<br>
&gt; In docs/reports/reporter_generating_reports.txt it is referenced as a<=
br>
&gt; .jpg, so it doesn&#39;t show up.<br>
&gt;<br>
&gt; The line is:<br>
&gt; :image::media/2.7_Enhancements_to_Reports5.jpg[Reports5]<br>
&gt;<br>
&gt; Here is a one line bash command that checks to make sure all the image=
<br>
&gt; links are correct.=C2=A0 This could be added to the documentation Q/A<=
br>
&gt; procedure.<br>
&gt;<br>
&gt; for i in `egrep -roh &quot;media/.*\.(JPG|jpg|png|PNG)&quot; | sort | =
uniq `; do<br>
&gt; [ -f $i ] || echo &quot;File $i not found&quot; ; done<br>
&gt;<br>
&gt; I&#39;m not sure if the fix for this should be changing the image to a=
 jpg<br>
&gt; or just fixing the link in the asciidoc file.<br>
&gt;<br>
&gt; Josh<br>
&gt;<br>
&gt; ** Affects: evergreen<br>
&gt;=C2=A0 =C2=A0 =C2=A0 Importance: Undecided<br>
&gt;=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Status: New<br>
&gt;<br>
&gt;<br>
&gt; ** Tags: bitesize-doc documentation<br>
&gt;<br>
&gt; --<br>
&gt; You received this bug notification because you are a member of<br>
&gt; Evergreen Bug Wranglers, which is subscribed to Evergreen.<br>
&gt; <a href=3D"https://bugs.launchpad.net/bugs/1374903" target=3D"_blank">=
https://bugs.launchpad.net/bugs/1374903</a><br>
&gt;<br>
&gt; Title:<br>
&gt;=C2=A0 =C2=A0Docs - Image error in 2.7 reports enhancment docs<br>
&gt;<br>
&gt; Status in Evergreen - Open ILS:<br>
&gt;=C2=A0 =C2=A0New<br>
&gt;<br>
&gt; Bug description:<br>
&gt;=C2=A0 =C2=A0Just noticed that one of the &quot;2.7_Enhancements_to_Rep=
orts&quot; images<br>
&gt;=C2=A0 =C2=A0under docs/media is a .png, while all the rest are .jpg.<b=
r>
&gt;<br>
&gt;=C2=A0 =C2=A0docs/media/2.7_Enhancements_to_Reports5.png<br>
&gt;<br>
&gt;=C2=A0 =C2=A0In docs/reports/reporter_generating_reports.txt it is refe=
renced as a<br>
&gt;=C2=A0 =C2=A0.jpg, so it doesn&#39;t show up.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0The line is:<br>
&gt;=C2=A0 =C2=A0:image::media/2.7_Enhancements_to_Reports5.jpg[Reports5]<b=
r>
&gt;<br>
&gt;=C2=A0 =C2=A0Here is a one line bash command that checks to make sure a=
ll the image<br>
&gt;=C2=A0 =C2=A0links are correct.=C2=A0 This could be added to the docume=
ntation Q/A<br>
&gt;=C2=A0 =C2=A0procedure.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0for i in `egrep -roh &quot;media/.*\.(JPG|jpg|png|PNG)&quo=
t; | sort | uniq `; do<br>
&gt;=C2=A0 =C2=A0[ -f $i ] || echo &quot;File $i not found&quot; ; done<br>
&gt;<br>
&gt;=C2=A0 =C2=A0I&#39;m not sure if the fix for this should be changing th=
e image to a jpg<br>
&gt;=C2=A0 =C2=A0or just fixing the link in the asciidoc file.<br>
&gt;<br>
&gt;=C2=A0 =C2=A0Josh<br>
&gt;<br>
&gt; To manage notifications about this bug go to:<br>
&gt; <a href=3D"https://bugs.launchpad.net/evergreen/+bug/1374903/+subscrip=
tions" target=3D"_blank">https://bugs.launchpad.net/evergreen/+bug/1374903/=
+subscriptions</a><br>
_______________________________________________<br>
OPEN-ILS-DOCUMENTATION mailing list<br>
<a href=3D"mailto:OPEN-ILS-DOCUMENTATION at list.georgialibraries.org">OPEN-IL=
S-DOCUMENTATION at list.georgialibraries.org</a><br>
<a href=3D"http://list.georgialibraries.org/mailman/listinfo/open-ils-docum=
entation" target=3D"_blank">http://list.georgialibraries.org/mailman/listin=
fo/open-ils-documentation</a><br>
_______________________________________________<br>
OPEN-ILS-DOCUMENTATION mailing list<br>
<a href=3D"mailto:OPEN-ILS-DOCUMENTATION at list.georgialibraries.org">OPEN-IL=
S-DOCUMENTATION at list.georgialibraries.org</a><br>
<a href=3D"http://list.georgialibraries.org/mailman/listinfo/open-ils-docum=
entation" target=3D"_blank">http://list.georgialibraries.org/mailman/listin=
fo/open-ils-documentation</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>=
<div dir=3D"ltr"><div>Angela Kilsdonk</div><div>Education Manager</div><div=
>Equinox Software Inc. / The Open Source Experts</div><div>1-877-OPEN-ILS (=
673-6457)</div></div>
</div>

--001a11c3b55a2ab0b40504728365--


More information about the OPEN-ILS-DOCUMENTATION mailing list