Csound Csound-dev Csound-tekno Search About

[Csnd-dev] manual problem

Date2016-09-29 14:01
Fromjpff
Subject[Csnd-dev] manual problem
I have a problem in the manual.  I get the message
  Error: no ID for constraint linkend: GENquadbezier.
which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
but I cannot see the cause of the error.  Could someone with younger
eyes and no dyslexia take a look?

Date2016-09-29 14:36
FromSteven Yi
SubjectRe: [Csnd-dev] manual problem
I looked with grep but nothing stood out (it all looked the same as
for GENpadsynth).

However, I'm having problems compiling the manual.  Make keeps
complaining about setting XSL_BASE_PATH and I've tried using a number
of different values. I'm running this on Windows, msys2.  Does someone
have an example XSL_BASE_PATH setting?  (I had this working but I had
a computer issue a few weeks back where I had to re-setup the
machine.)

On Thu, Sep 29, 2016 at 9:01 AM, jpff  wrote:
> I have a problem in the manual.  I get the message
>   Error: no ID for constraint linkend: GENquadbezier.
> which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
> but I cannot see the cause of the error.  Could someone with younger
> eyes and no dyslexia take a look?

Date2016-09-29 14:56
FromGuillermo Senna
SubjectRe: [Csnd-dev] manual problem
Hi John,

Thank you very much for your time. I don't understand why I'm not seeing
the same problem. I've just cloned the repo and after adding
"&scoregensquadbezier;" at the end of scoreges/genquadbezier.xml, and
then doing "make html" it compiles the whole manual just fine. That is,
including GENquadbezier.html. Could it be a distribution thing?


On 29/09/16 10:01, jpff wrote:
> I have a problem in the manual.  I get the message
>   Error: no ID for constraint linkend: GENquadbezier.
> which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
> but I cannot see the cause of the error.  Could someone with younger
> eyes and no dyslexia take a look?

Date2016-09-29 15:06
FromGuillermo Senna
SubjectRe: [Csnd-dev] manual problem
Hi Steven,

I think I've used GENfarey.xml as a template. Unfortunately, I am not
getting the same error John is having.

Regarding XSL_BASE_PATH, I am on linux and actually don't have that
variable set. But "make html" doesn't complain. After the build process
begins I can see in the console:

[ -d "/usr/share/xml/docbook/stylesheet/nwalsh/" ] || (  \
 echo "The XSL_BASE_PATH variable must be set to the XSL stylesheets
installation directory" ; \
 false )
sed -e 's|@xsl_base_path@|/usr/share/xml/docbook/stylesheet/nwalsh/|'
xsl/customXHTMLchunk.xsl.in > xsl/customXHTMLchunk.xsl

Do you want me to zip that nwalsh directory for you?

Cheers.

On 29/09/16 10:36, Steven Yi wrote:
> I looked with grep but nothing stood out (it all looked the same as
> for GENpadsynth).
>
> However, I'm having problems compiling the manual.  Make keeps
> complaining about setting XSL_BASE_PATH and I've tried using a number
> of different values. I'm running this on Windows, msys2.  Does someone
> have an example XSL_BASE_PATH setting?  (I had this working but I had
> a computer issue a few weeks back where I had to re-setup the
> machine.)
>
> On Thu, Sep 29, 2016 at 9:01 AM, jpff  wrote:
>> I have a problem in the manual.  I get the message
>>   Error: no ID for constraint linkend: GENquadbezier.
>> which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
>> but I cannot see the cause of the error.  Could someone with younger
>> eyes and no dyslexia take a look?

Date2016-09-29 15:07
Fromjpff
SubjectRe: [Csnd-dev] manual problem
Thank you -- I think you fixed it with this message

On Thu, 29 Sep 2016, Guillermo Senna wrote:

> Hi John,
>
> Thank you very much for your time. I don't understand why I'm not seeing
> the same problem. I've just cloned the repo and after adding
> "&scoregensquadbezier;" at the end of scoreges/genquadbezier.xml, and
> then doing "make html" it compiles the whole manual just fine. That is,
> including GENquadbezier.html. Could it be a distribution thing?
>
>
> On 29/09/16 10:01, jpff wrote:
>> I have a problem in the manual.  I get the message
>>   Error: no ID for constraint linkend: GENquadbezier.
>> which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
>> but I cannot see the cause of the error.  Could someone with younger
>> eyes and no dyslexia take a look?
>> ==John ffitch

Date2016-09-29 15:08
FromSteven Yi
SubjectRe: [Csnd-dev] manual problem
With msys2 the directories for xsl files are different.  I have them
there, and I've even tried copying the xsl into stylesheet/nwalsh to
use the same as the default path, but that doesn't work.  I've tried

export XSL_BASE_PATH=/usr/share/xml/docbook/xsl-stylesheets-1.78.1
export XSL_BASE_PATH=/c/msys64/usr/share/xml/docbook/xsl-stylesheets-1.78.1
export XSL_BASE_PATH=c:\\msys64\\usr\\share\\xml\\docbook\\xsl-stylesheets-1.78.1
export XSL_BASE_PATH=file:///usr/share/xml/docbook/xsl-stylesheets-1.78.1

and none of these worked.

On Thu, Sep 29, 2016 at 10:06 AM, Guillermo Senna  wrote:
> Hi Steven,
>
> I think I've used GENfarey.xml as a template. Unfortunately, I am not
> getting the same error John is having.
>
> Regarding XSL_BASE_PATH, I am on linux and actually don't have that
> variable set. But "make html" doesn't complain. After the build process
> begins I can see in the console:
>
> [ -d "/usr/share/xml/docbook/stylesheet/nwalsh/" ] || (  \
>  echo "The XSL_BASE_PATH variable must be set to the XSL stylesheets
> installation directory" ; \
>  false )
> sed -e 's|@xsl_base_path@|/usr/share/xml/docbook/stylesheet/nwalsh/|'
> xsl/customXHTMLchunk.xsl.in > xsl/customXHTMLchunk.xsl
>
> Do you want me to zip that nwalsh directory for you?
>
> Cheers.
>
> On 29/09/16 10:36, Steven Yi wrote:
>> I looked with grep but nothing stood out (it all looked the same as
>> for GENpadsynth).
>>
>> However, I'm having problems compiling the manual.  Make keeps
>> complaining about setting XSL_BASE_PATH and I've tried using a number
>> of different values. I'm running this on Windows, msys2.  Does someone
>> have an example XSL_BASE_PATH setting?  (I had this working but I had
>> a computer issue a few weeks back where I had to re-setup the
>> machine.)
>>
>> On Thu, Sep 29, 2016 at 9:01 AM, jpff  wrote:
>>> I have a problem in the manual.  I get the message
>>>   Error: no ID for constraint linkend: GENquadbezier.
>>> which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
>>> but I cannot see the cause of the error.  Could someone with younger
>>> eyes and no dyslexia take a look?

Date2016-09-29 15:25
FromGuillermo Senna
SubjectRe: [Csnd-dev] manual problem

I know you are on msys2 and not msys, but I've come across the How to Build Csound 6 on Windows by Michael Gogins and somewhere there it says:


mingw32-make XSL_BASE_PATH=C:/utah/opt/docbook-xsl-1.76.1 clean html-dist


Can you try passing the variable as an argument to make?



On 29/09/16 11:08, Steven Yi wrote:
With msys2 the directories for xsl files are different.  I have them
there, and I've even tried copying the xsl into stylesheet/nwalsh to
use the same as the default path, but that doesn't work.  I've tried

export XSL_BASE_PATH=/usr/share/xml/docbook/xsl-stylesheets-1.78.1
export XSL_BASE_PATH=/c/msys64/usr/share/xml/docbook/xsl-stylesheets-1.78.1
export XSL_BASE_PATH=c:\\msys64\\usr\\share\\xml\\docbook\\xsl-stylesheets-1.78.1
export XSL_BASE_PATH=file:///usr/share/xml/docbook/xsl-stylesheets-1.78.1

and none of these worked.

On Thu, Sep 29, 2016 at 10:06 AM, Guillermo Senna <gsenna@gmail.com> wrote:
Hi Steven,

I think I've used GENfarey.xml as a template. Unfortunately, I am not
getting the same error John is having.

Regarding XSL_BASE_PATH, I am on linux and actually don't have that
variable set. But "make html" doesn't complain. After the build process
begins I can see in the console:

[ -d "/usr/share/xml/docbook/stylesheet/nwalsh/" ] || (  \
 echo "The XSL_BASE_PATH variable must be set to the XSL stylesheets
installation directory" ; \
 false )
sed -e 's|@xsl_base_path@|/usr/share/xml/docbook/stylesheet/nwalsh/|'
xsl/customXHTMLchunk.xsl.in > xsl/customXHTMLchunk.xsl

Do you want me to zip that nwalsh directory for you?

Cheers.

On 29/09/16 10:36, Steven Yi wrote:
I looked with grep but nothing stood out (it all looked the same as
for GENpadsynth).

However, I'm having problems compiling the manual.  Make keeps
complaining about setting XSL_BASE_PATH and I've tried using a number
of different values. I'm running this on Windows, msys2.  Does someone
have an example XSL_BASE_PATH setting?  (I had this working but I had
a computer issue a few weeks back where I had to re-setup the
machine.)

On Thu, Sep 29, 2016 at 9:01 AM, jpff <jpff@codemist.co.uk> wrote:
I have a problem in the manual.  I get the message
  Error: no ID for constraint linkend: GENquadbezier.
which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
but I cannot see the cause of the error.  Could someone with younger
eyes and no dyslexia take a look?
==John ffitch


Date2016-09-29 15:43
FromGuillermo Senna
SubjectRe: [Csnd-dev] manual problem
Great! Let me know if it still complains and I'll help you chase the bug
if it doesn't work.

Cheers.


On 29/09/16 11:07, jpff wrote:
> Thank you -- I think you fixed it with this message
>
> On Thu, 29 Sep 2016, Guillermo Senna wrote:
>
>> Hi John,
>>
>> Thank you very much for your time. I don't understand why I'm not seeing
>> the same problem. I've just cloned the repo and after adding
>> "&scoregensquadbezier;" at the end of scoreges/genquadbezier.xml, and
>> then doing "make html" it compiles the whole manual just fine. That is,
>> including GENquadbezier.html. Could it be a distribution thing?
>>
>>
>> On 29/09/16 10:01, jpff wrote:
>>> I have a problem in the manual.  I get the message
>>>   Error: no ID for constraint linkend: GENquadbezier.
>>> which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
>>> but I cannot see the cause of the error.  Could someone with younger
>>> eyes and no dyslexia take a look?
>>> ==John ffitch

Date2016-09-29 15:57
FromSteven Yi
SubjectRe: [Csnd-dev] manual problem
Ah, fantastic!  I hadn't tried that form but it's now working.  I've
set it in my environment variables rather than pass as a command-line
argument, but the form is the important part.  Thanks Guillermo!

On Thu, Sep 29, 2016 at 10:25 AM, Guillermo Senna  wrote:
> I know you are on msys2 and not msys, but I've come across the How to Build
> Csound 6 on Windows by Michael Gogins and somewhere there it says:
>
>
> mingw32-make XSL_BASE_PATH=C:/utah/opt/docbook-xsl-1.76.1 clean html-dist
>
>
> Can you try passing the variable as an argument to make?
>
>
>
> On 29/09/16 11:08, Steven Yi wrote:
>
> With msys2 the directories for xsl files are different.  I have them
> there, and I've even tried copying the xsl into stylesheet/nwalsh to
> use the same as the default path, but that doesn't work.  I've tried
>
> export XSL_BASE_PATH=/usr/share/xml/docbook/xsl-stylesheets-1.78.1
> export XSL_BASE_PATH=/c/msys64/usr/share/xml/docbook/xsl-stylesheets-1.78.1
> export
> XSL_BASE_PATH=c:\\msys64\\usr\\share\\xml\\docbook\\xsl-stylesheets-1.78.1
> export XSL_BASE_PATH=file:///usr/share/xml/docbook/xsl-stylesheets-1.78.1
>
> and none of these worked.
>
> On Thu, Sep 29, 2016 at 10:06 AM, Guillermo Senna  wrote:
>
> Hi Steven,
>
> I think I've used GENfarey.xml as a template. Unfortunately, I am not
> getting the same error John is having.
>
> Regarding XSL_BASE_PATH, I am on linux and actually don't have that
> variable set. But "make html" doesn't complain. After the build process
> begins I can see in the console:
>
> [ -d "/usr/share/xml/docbook/stylesheet/nwalsh/" ] || (  \
>  echo "The XSL_BASE_PATH variable must be set to the XSL stylesheets
> installation directory" ; \
>  false )
> sed -e 's|@xsl_base_path@|/usr/share/xml/docbook/stylesheet/nwalsh/|'
> xsl/customXHTMLchunk.xsl.in > xsl/customXHTMLchunk.xsl
>
> Do you want me to zip that nwalsh directory for you?
>
> Cheers.
>
> On 29/09/16 10:36, Steven Yi wrote:
>
> I looked with grep but nothing stood out (it all looked the same as
> for GENpadsynth).
>
> However, I'm having problems compiling the manual.  Make keeps
> complaining about setting XSL_BASE_PATH and I've tried using a number
> of different values. I'm running this on Windows, msys2.  Does someone
> have an example XSL_BASE_PATH setting?  (I had this working but I had
> a computer issue a few weeks back where I had to re-setup the
> machine.)
>
> On Thu, Sep 29, 2016 at 9:01 AM, jpff  wrote:
>
> I have a problem in the manual.  I get the message
>   Error: no ID for constraint linkend: GENquadbezier.
> which is probably in scoregens/top.xml or scoregens/genquadbezier.xml
> but I cannot see the cause of the error.  Could someone with younger
> eyes and no dyslexia take a look?
> ==John ffitch
>