<span style="font-family: courier new,monospace;">Zdravim,</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">A)<br>dakujem vsetkym za pomoc. Vsetky tieto prispevky sa podobaju na balik csvtools, ale zda sa mi, ze som asi nepopisal </span><span style="font-family: courier new,monospace;">dost jasne problem, ktory by som chcel vyriesit.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Ide totiz o to, ze z daneho xxx.csv suboru by som chcel importovat nie vsetky riadky, ale iba </span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
a) z konkretneho riadku bud udaj z jedneho pola alebo zo vsetkych poli</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">b) udaj z hociktoreho pola hociktoreho riadku</span><span style="font-family: courier new,monospace;"></span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">vstup.csv</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Meno, Adresa, DatumVstupu, PSC</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">jano, Jiraskova 4, 21-jan-2002, 433 22</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">robo, Nedbalova 42, 3-okt-2005, 433 11 </span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">erik, Misikova 422, 28-dec-2020, 333 22</span><br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Vsetky Vase prispevky spracuju cely vstup.csv subor a ja by som chcel mat moznost si vybrat a<br>
importovat hociktory prvok:<br> napr. <br>3. prvok z 1. riadku ==\insertDatumVstupu[1]=21-jan-2002</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">2. prvok z 3. riadku ==\insertAdresa[3]=Misikova 422</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">1. prvok z 3. riadku ==\insertMeno[3]=erik</span><br><br><br><span style="font-family: courier new,monospace;">B)</span><br><span style="font-family: courier new,monospace;">Este ma napadlo, ci by sa dalo pouzit dajaky vyhladavaci prikaz podobne sql prikazu, na zaklade ktoreho </span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">by sa importovali hodnota (alebo hodnoty).</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\insertMeno where Meno="robo" #vloz iba meno, ked Meno=""robo"</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">alebo</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">\insert where PSC="*433*" #vloz vsetky riadky, pri ktorych PSC obsahuje string 433</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">peter</span><br><br><br><div class="gmail_quote">2011/10/10 Pavel Striz <span dir="ltr"><<a href="mailto:striz@fame.utb.cz" target="_blank">striz@fame.utb.cz</a>></span><br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Mj. novejsi a obecnejsi nastroj od Nikoly Talbot se jmenuje datatool.<br>
ps<br>
<br>
<br>
----- Puvodní zpráva ----- Od: "peter knezel" <<a href="mailto:peter.knezel@gmail.com" target="_blank">peter.knezel@gmail.com</a>><br>
Komu: <<a href="mailto:cstex@cs.felk.cvut.cz" target="_blank">cstex@cs.felk.cvut.cz</a>><br>
Odesláno: 10. ríjna 2011 11:39<br>
Predmet: [cstex] import dat z externeho suboru do latexu - csvtools aleboine??<div><div></div><div><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Zdravim vsetkych,<br>
<br>
existuje balik, ktory mi umoznuje import dat z externeho suboru do latexu?<br>
Rad by som do vopred pripraveneho listu alebo dokumentu na urcite miesta<br>
importoval obsahy poli.<br>
Pozeral som balik csvtools, ktory ma taketo vlastnosti, ale nedari sa mi<br>
vytiahnut<br>
z toho iba obsah konkretneho riadku (vid pripad a)) alebo udaje roznych poli<br>
z roznych riadkov (vid pripad b)).<br>
<br>
a)<br>
xxxx xxxxx xxxx xxxx \insertAdresa[2]<br>
xxxxxxx \insertDatumVstupu[2] xxxxx xxxxx<br>
xxx \insertMeno[2] xxx xx \insertPSC[2] \insertMeno[2]<br>
xxx xxx xxxxx xxxxxxxxxxxxxx<br>
<br>
<br>
b)<br>
xxxx xxxxx xxxx xxxx \insertAdresa[3]<br>
xxxxxxx \insertDatumVstupu[3] xxxxx xxxxx<br>
xxx \insertMeno[2] xxx xx \insertPSC[2] \insertMeno[1]<br>
xxx xxx xxxxx xxxxxxxxxxxxxx<br>
<br>
<br>
vstup.csv<br>
Meno, Adresa, DatumVstupu, PSC<br>
jano, Jiraskova 4, 21-jan-2002, 433 22<br>
robo, Nedbalova 42, 3-okt-2005, 433 11<br>
erik, Misikova 422, 28-dec-2020, 333 22<br>
<br>
S pozdravom,<br>
<br>
peter knezel<br>
<br>
</blockquote>
<br>
<br></div></div>
------------------------------<u></u>------------------------------<u></u>--------------------<div><div></div><div><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
______________________________<u></u>_________________<br>
csTeX mailing list<br>
<a href="mailto:csTeX@cs.felk.cvut.cz" target="_blank">csTeX@cs.felk.cvut.cz</a><br>
<a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/<u></u>mailman/listinfo/cstex</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
csTeX mailing list<br>
<a href="mailto:csTeX@cs.felk.cvut.cz" target="_blank">csTeX@cs.felk.cvut.cz</a><br>
<a href="http://lists.felk.cvut.cz/mailman/listinfo/cstex" target="_blank">http://lists.felk.cvut.cz/<u></u>mailman/listinfo/cstex</a><br>
</div></div></blockquote></div><br>