Book a Demo

Author Topic: Importing AE-diagrams in LaTex  (Read 6668 times)

Rae

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Importing AE-diagrams in LaTex
« on: September 18, 2014, 02:42:45 am »
Hi there.
I am new to this forum, so please tell me if i post topics in the wrong place.

We are currently in the process of describing a project in AE and writing the documentaion in LaTaX. Is there anyway of easily importing AE-diagrams to our LaTeX documents or are we forced to import them as Pictures?

Cheers
Rasmus

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Importing AE-diagrams in LaTex
« Reply #1 on: September 18, 2014, 05:07:28 am »
Hi Rasmus,
I once wrote a script (in Perl) to export a model to LaTeX. It's a bit of work, to be honest. But it's very, very flexible. And - of course -  the LaTeX output is light years ahead of RTF.

http://community.sparxsystems.com/tutorials/535-7creating-marvelous-ea-documentation-using-latex

q.

P.S. It's EA, not AE  :D
« Last Edit: September 18, 2014, 05:08:32 am by qwerty »

Rae

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Importing AE-diagrams in LaTex
« Reply #2 on: September 18, 2014, 07:56:53 am »
That is some very nice work! Impressive how simple everything looks when you see the end-result of a Tex format, huh?

I think i will wait with the full scripting (from EA to LaTex).
Maybe you could give me a hint with "only the process" of exporting all my diagrams to png-images through a script?

I could make it so the diagrams would always keep the same name, and thus only have to implement the picture ones in LaTex. Even if i were to change Elements of the diagram.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Importing AE-diagrams in LaTex
« Reply #3 on: September 18, 2014, 08:19:09 am »
Exporting diagram images is quite easy. You need to traverse packages and elements for contained diagrams (Diagrams collection not empty). Then you issue ProjectInterface.SaveDiagramImageToFile for each of the diagrams (giving them a meaningful name).

q,

kwasposer

  • EA User
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
LaTex Documentation
« Reply #4 on: June 14, 2020, 01:41:45 am »
Hello, is there any update in generating Latex Documents with Enterprise Architect?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Importing AE-diagrams in LaTex
« Reply #5 on: June 14, 2020, 04:01:20 am »
Well, no. EA can't create LaTeX. You are on yourself. (I'm creating LaTeX since years, but I'm a strange guy anyways.)

q.

kwasposer

  • EA User
  • **
  • Posts: 91
  • Karma: +1/-0
    • View Profile
Re: Importing AE-diagrams in LaTex
« Reply #6 on: June 14, 2020, 08:23:49 pm »
Really cool . I like strange!