Olga Lyashevska olga.mailinglist at herenstraat.nl
Thu May 1 11:04:58 CEST 2008

Dear Herbert,

Herbert Voss schreeft:
> with
> $kpsexpand '$TEXMFHOME'
> /home/voss/texmf
>
> $kpsexpand '$TEXMFLOCAL'
> /usr/local/texlive/2007/../texmf-local
>
> you get your directories of the TeX-installation. Above my own ones.
> Your files should go into
> $TEXMFHOME/tex/... or$TEXMFLOCAL/tex/...
>
> When running texhash you can also see the directories where
> the file data base is updated

Thank you very much for your advice, my problem is solved. The only
difference is that it seems that I dont have a /tex/ directory.

e7253:tex olichka$kpsexpand '$TEXMFLOCAL'/usr/local/texlive/2007/../texmf-local
e7253:tex olichka\$ ls
latex		plain		pst-dbicons.sty

In my previous posts I had some questions about use of dbicons. I will
summarize them here:

1) entities positioning;

Relationship between entity 'tbl_std'  and entity 'tbl_lvl' is skewed (not
right angle). The same problem is with 'tbl_dsc' and 'tbl_indx'
I would like them to be positioned in the corners of imaginary rectangle.
Can anybody suggest how to achieve it?

2) associative entities;

In my model entities 'tbl_std' and 'tbl_indx' are associative entities
(used when we have many-to-many relationship). I would like to represent
them as a
diamond within rectangle.

Kind regards,
Olga

-----begin example----------
\documentclass{article}
\usepackage{pstricks,pst-node,pst-coil,color,dbicons}
\begin{document}

\begin{tabular}{cc}

%entities
\begin{tabular}{c}
\entity{tblpbl}[tbl\_pbl]\\[3cm]
\entity{tblstd}[tbl\_std]\\[3cm]
\entity{tbldsc}[tbl\_dsc] \\[3cm]
\end{tabular}
\hspace{15em}
\begin{tabular}{c}
\entity{tbllvl}[tbl\_lvl]\\[3cm]
\entity{tblindx}[tbl\_indx]\\[3cm]
\end{tabular}

%attributes
\attributeof{tblpbl}[4em]{0}{pbloth}[pbl\_oth]
\attributeof{tblpbl}[4em]{30}{pblauth}[pbl\_auth]
\attributeof{tblpbl}[4em]{90}[key]{pblid}[pbl\_id]
\attributeof{tblpbl}[4em]{150}{pblyr}[pbl\_yr]
\attributeof{tblpbl}[4em]{180}{pbljrn}[pbl\_jrn]
\attributeof{tblstd}[4em]{180}[key]{stdid}[std\_id]
\attributeof{tbldsc}[4em]{180}[key]{dscid}[dsc\_id]
\attributeof{tbldsc}[4em]{150}{dscname}[dsc\_name]
\attributeof{tbldsc}[4em]{220}{dscval}[dsc\_val]
\attributeof{tbldsc}[4em]{270}{dscunit}[dsc\_unit]
\attributeof{tbldsc}[4em]{320}{dscoth}[dsc\_oth]
\attributeof{tbllvl}[4em]{0}{lvlid}[lvl\_id]
\attributeof{tbllvl}[4em]{90}{lvlname}[lvl\_name]
\attributeof{tblindx}[4em]{0}{indxid}[indx\_id]
\attributeof{tblindx}[4em]{330}{indxname}[indx\_name]
\attributeof{tblindx}[4em]{270}{indxrel}[indx\_rel]

%relationships
\relationshipbetween{tblpbl}{tblstd}{contains}
\relationshipbetween{tblstd}[m:1]{tbldsc}{described}
\relationshipbetween{tblstd}{tbllvl}{fill}
\relationshipbetween{tbldsc}{tblindx}{fill}
\relationshipbetween{tbllvl}{tblindx}{fill}
\end{tabular}
\end{document}

-----end example---------