Closed manasdas17 closed 4 years ago
Ok thanks for your interest. I have rewrite the README.md with better instruction.
Please let me know if something is missing. The project was stalled due to lack of interest from community but it will be my pleasure to improve it.
Laurent
Thanks for your reply...Indeed a great tool.I hope we can improve it further.
But , still getting error while trying to use Vhdl2LatexSch demo.vhd (in the exe folder & after copying Vhdl2LatexSch to /usr/bin ).. the following error i got... "demo.vhd ReadFile WriteFile This is LuaTeX, Version beta-0.70.1-2011120612 mv: cannot stat `schematic.pdf': No such file or directory"
And the 2nd question is how to compile the code in source folder to get Vhdl2LatexSch (binary file).
Thanks, Manas
Ok. Check-list : Do you have lualatex installed ? Tikz/pgf ? Have you Read/write accès to the directory were Vhdl2LatexSch execute ? Because It need to create some temporary files.
Compiling : just go to the exe directory and type Make.
Let me know résulte, please. Laurent
yes, lualatex is installed and also Tikz/pgf. yes,i have read/write access to the directory. while compiling in exe directory,it shows no target for make. Attaching a screen-shot.
One more question,how the vhdl2latexsch binary is created and how how to use the files in source folder.
humm!
1) I changed the gitignore to stop Makefile ignoring (Shame on me!) make will work now
2) Use qtcreator and open the Vhdl2LatexSch.pro file Don't forget to configure the project to compile in exe/ (or it will create directories like Release_QT_xxxx_xxxx)
Thanks for all. Sorry for the delay i am in holidays only with my phone connection.
got error while using "make" in the exe folder...
Attaching the sreen-shot
I tried to redownload the project in order to check problem. could you please test this without changing anything.
git clone git@github.com:LaurentCabaret/Vhdl2sch.git cd Vhdl2sch/exe/ make
I have done this in a fresh new directory (test). This is my output:
For information : qmake --version give QMake version 2.01a Using Qt version 4.8.2 in /usr/lib/x86_64-linux-gnu
lualatex -v give This is LuaTeX, Version beta-0.70.2-2012070300 (TeX Live 2012/Debian)
Execute 'luatex --credits' for credits and version details.
There is NO warranty. Redistribution of this software is covered by the terms of the GNU General Public License, version 2. For more information about these matters, see the file named COPYING and the LuaTeX source.
Copyright 2012 Taco Hoekwater, the LuaTeX Team.
If it fails : What is the result under qtcreator ?
make is showing no error but whtn i run the commnad ./Vhdl2LatexSch the following occurs ReadFile WriteFile This is LuaTeX, Version beta-0.70.1-2011120612 mv: cannot stat `schematic.pdf': No such file or directory All the supported files are created except the .pdf.
I think the pdf isnt created because of latex.Could you let me know about the packages including luatex nd its dependent packages.
Ok : the program write a file named schematic.tex at the begining you can find : \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{tikz} \usepackage{fontspec} \usetikzlibrary{arrows,decorations.markings} \usepackage[math-style=upright]{unicode-math} \setmathfont{Asana Math} % for math symbols, can be any other OpenType math font \begin{document} \fontspec{Aegyptus}
Try without aegyptus font !!
I run the command pdflatex schematic.tex. But the error comes that...
But i have XeteX installed. What is the solution for this.
logical : only use lualatex schematic.tex not pdflatex.
Have you comment font aegyptus usage ?
use lualaex...but same error...
?
1 - I found lots of related errors on the web. And full latex (TexLive) upgrade solve problems
2 - Please send me your schematic.tex file.
PFA.
On Fri, Apr 25, 2014 at 11:21 PM, LaurentCabaret notifications@github.comwrote:
1 - I found lots of related errors on the web. And full latex (TexLive) upgrade solve problems
2 - Please send me your schematic.tex file.
— Reply to this email directly or view it on GitHubhttps://github.com/LaurentCabaret/Vhdl2sch/issues/1#issuecomment-41420678 .
Thérèse is no file attachés.
schematic.tex ....couldnt attach so pasted it...
\documentclass[10pt,a4paper]{standalone} \usepackage[utf8]{inputenc} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{tikz} \usepackage{fontspec} \usetikzlibrary{arrows,decorations.markings} \usepackage[math-style=upright]{unicode-math} \setmathfont{Asana Math} % for math symbols, can be any other OpenType math font \begin{document} %\fontspec{Aegyptus} \tikzset{middlearrow/.style={decoration={markings,mark= at position 0.4 with {\arrow{#1}},},postaction={decorate}}} \tikzset{bus/.style ={-triangle 45, thin,double, very thin,black!90,decoration={markings, mark=at position {0.4} with {\arrow{|},\node[transform shape,above] {\footnotesize #1};}},postaction={decorate}}} \tikzset{wire/.style 2 args={-triangle 60},postaction={decorate}} \tikzset{ckwire/.style 2 args={-open triangle 60,shorten >=-5pt,},postaction={decorate}} \tikzset{Entity/.style 2 args={shape = rectangle,rounded corners=1pt,draw=black, thick,minimum width={1.05*#1 em},minimum height={#2 em},text centered}} \begin{tikzpicture} \nodetext depth=5.0187cm,anchor=north east,Entity={7}{16.1} at (0,0) {InputGate}; \noderight at (-2.593,-0.9) {Clk}; \drawwire -- (Clk); \noderight at (-2.593,-1.4) {PxClk}; \drawwire -- (PxClk); \noderight at (-2.593,-1.9) {PxVal}; \drawwire -- (PxVal); \nodeleft at (0,-0.9) {PxValOut}; \drawwire -- (1.2,-0.9); \nodeleft at (0,-1.4) {Col}; \drawbus={Wsize} -- (1.2,-1.4); \nodeleft at (0,-1.9) {Lig}; \drawbus={Hsize} -- (1.2,-1.9); \nodeleft at (0,-2.4) {StatusInner}; \drawwire -- (1.2,-2.4); \nodeleft at (0,-2.9) {UpLeftCorner}; \drawwire -- (1.2,-2.9); \nodeleft at (0,-3.4) {FirstLine}; \drawwire -- (1.2,-3.4); \nodeleft at (0,-3.9) {FirstRow}; \drawwire -- (1.2,-3.9); \nodeleft at (0,-4.4) {LastRow}; \drawwire -- (1.2,-4.4); \nodeleft at (0,-4.9) {LastPixel}; \drawwire -- (1.2,-4.9); \nodeleft at (0,-5.4) {FirstPass}; \drawwire -- (1.2,-5.4); \end{tikzpicture} \end{document}
Back to a real computer!
I made some changes so please pull changes, install aegyptus font as expained in README.md. Please let me know the result.
Your are a great help. Thank you.
Laurent
I am nt able to run Vhdl2sch.Could plz spicify the guidelines how to compile & run.
Thanks, Manas