Search found 12 matches

by pasbal
Sun Jun 05, 2016 11:17 am
Forum: General
Topic: Datatool : automatically add a new entry
Replies: 2
Views: 3104

Datatool : automatically add a new entry

Code: Select all

\DTLforeach{ListeCompetencesEleves}{%
%\dtlexpandnewvalue%
\nom=nom,\prenom=prénom}%
{%
\DTLforeachkeyinrow{\ItemLu}{%
\ifthenelse{\dtlcol>2 \and \dtlcol <\nombredecolonnes}{\DTLreplaceentryforrow{\dtlkey}{value}}%%%%
{\relax}%
}%
}%
If value is a commande name use \dtlexpandnewvalue
by pasbal
Mon May 30, 2016 9:31 pm
Forum: General
Topic: Datatool : automatically add a new entry
Replies: 2
Views: 3104

Datatool : automatically add a new entry

first step : solved

second & third step step : fail

If my file is :

key1,key2,key3,key4
Amédéo,AVogadro,,
Bohr,Niels,,


In the end, i would like :

key1,key2,key3,key4
Amédéo,AVogadro,Stuff1,Stuffa
Bohr,Niels,Stuff2,Stuffb



I would like to use a command, like this


\DTLforeachkey{}{
add ...
by pasbal
Mon May 23, 2016 10:32 pm
Forum: General
Topic: Datatool : automatically add a new entry
Replies: 2
Views: 3104

Datatool : automatically add a new entry

Hello,

1) I would like concatenate prénom (name) and nom (surname) to create a new user name without an accent on letters, like this: Avogadro-Amedeo.
It works, see my post below

2) How can i automatically add a new entry and complete each row.
I tried \dtlupdateentryincurrentrow{\dtlcol}{stuff ...
by pasbal
Fri Apr 22, 2016 7:20 pm
Forum: General
Topic: Datatool : search key, add up values, copy & past in a list
Replies: 3
Views: 6533

Datatool : search key, add up values, copy & past in a list

Hello,

Your post was very helpful. Here a test that seems to work and totally compatible with my competences.

Thanks again and regards

\documentclass[12pt,a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage[francais]{babel}
\usepackage[T1]{fontenc}
\usepackage{datatool}
\usepackage ...
by pasbal
Mon Apr 11, 2016 12:28 pm
Forum: General
Topic: Datatool : search key, add up values, copy & past in a list
Replies: 3
Views: 6533

Re: Datatool : search key, add up values, copy & past in a l

Hello,

Thanks for help. I will take some time to read, to assimilate your file, so that i'll write a new file much closer my idea.

pasbal.
by pasbal
Fri Apr 08, 2016 6:53 pm
Forum: General
Topic: Datatool : search key, add up values, copy & past in a list
Replies: 3
Views: 6533

Datatool : search key, add up values, copy & past in a list

Hello,

I have many difficulties to use datatool package because i am new with latex.
I have a CSV file made up something like this:

\begin{filecontents}{dbTest.csv}
ColA,ColB,ColC
A,1,A
B,1.5,Ba
A,1.25,DSa
D,2.5,Aza
B,0.5,RE
\end{filecontents}


How can i reuse \DTLrowcount{dbTest} with an ...
by pasbal
Tue Aug 19, 2014 4:15 pm
Forum: General
Topic: sort the numbers with latex
Replies: 7
Views: 8387

Re: sort the numbers with latex

The software's maintener modified the code and the problem is fixed.
by pasbal
Sat Aug 09, 2014 9:06 pm
Forum: General
Topic: sort the numbers with latex
Replies: 7
Views: 8387

Re: sort the numbers with latex

Hello,

I tried with the Package cleveref but as the sheets are shuffled some errors appeared.
I already asked to the maintener but he answered the same idea as yours.

Thank a lot for help.
by pasbal
Thu Aug 07, 2014 12:34 pm
Forum: General
Topic: sort the numbers with latex
Replies: 7
Views: 8387

sort the numbers with latex

the manual file is too big. You can download here :

http://email.wesend.com/wf/click?upn=cFm7F9dBPd176JMbFB1jVjvUlIn829yKvg1QnOy920ZNe0HBWTslZAfnSnT1mPUUdRi4RRL9aIgGbdoC75ho2w-3D-3D_VT7h1XVDCIPdQxtnAWzTH6bx ...
by pasbal
Thu Aug 07, 2014 12:30 pm
Forum: General
Topic: sort the numbers with latex
Replies: 7
Views: 8387

sort the numbers with latex

automultiplechoice.sty
the package
(57.88 KiB) Downloaded 480 times
EMC.tex
example
(1.96 KiB) Downloaded 494 times
Hello,

Find an example.

Thanks for help.

i can't attach more one file, i will attach the AMC package file and the manual in other posts.