| That might work?
On 17 May 2013 17:05, Andres Cabrera wrote:
> Another thought. How about using the names of parameters from the opcode
> list to find the lines with the appropriate description?
>
> Cheers,
> Andres
>
> On May 17, 2013 6:07 AM, "Francois PINOT" wrote:
>>
>> It was another task: Menno wrote original examples for many opcodes but he
>> did not change the xml structure of the articles. Here we have to modify the
>> xml tags of some paragraphs without changing Menno's work.
>>
>>
>> 2013/5/17 Rory Walsh
>>>
>>> If only we had though of this before Menno started his mammoth task of
>>> updating the entire help manual!
>>>
>>>
>>>
>>> On 17 May 2013 07:23, Francois PINOT wrote:
>>> > Some of the manual opcode entries are a bit messy. So I think that a
>>> > completely automatic treatment is infeasible. One could write a python
>>> > script taking as input a single opcode article and proposing as output
>>> > a
>>> > rearranged version of the file. Then by quickly reading the concerned
>>> > parts
>>> > we could accept the output or add manually some corrections and/or
>>> > refactoring if necessary.
>>> >
>>> > There are 1275 xml files to modify. If we count an average of 2mn per
>>> > file,
>>> > it's a 40 hours job for one person, 20 hours job for two persons, 10
>>> > hours
>>> > job for four persons, etc.
>>> >
>>> > Volunteers ?
>>> >
>>> >
>>> > Regards
>>> >
>>> > Francois
>>> >
>>> >
>>> > 2013/5/17 Rory Walsh
>>> >>
>>> >> I know, I was thinking the same thing. It would need script that would
>>> >> parse the existing xml files and place proper identifiers in them.
>>> >> Could be a bit of work. I think it might be quicker done in python
>>> >> than in C/C++ which is why I'm staying away from it. Sorry.
>>> >>
>>> >> On 17 May 2013 02:46, Andres Cabrera wrote:
>>> >> > I think this would be a nice solution. But who will do it... ? :)
>>> >> > It might even be good to separate i-input, i-output, k-input,
>>> >> > k-output,
>>> >> > etc.
>>> >> > That way if something is needed in terms of formatting for the
>>> >> > output to
>>> >> > separte each it can be done easily.
>>> >> >
>>> >> >
>>> >> > Cheers,
>>> >> > Andrés
>>> >> >
>>> >> >
>>> >> > On Mon, May 13, 2013 at 8:04 AM, Francois PINOT
>>> >> > wrote:
>>> >> >>
>>> >> >> I found this:
>>> >> >> http://www.tldp.org/HOWTO/DocBook-Install/using.html#AEN600,
>>> >> >> which seems to have a similar structure to what could be done. It's
>>> >> >> quite
>>> >> >> complicated!
>>> >> >>
>>> >> >> A simpler solution could be to use a role attribute in the
>>> >> >> tags
>>> >> >> describing the opcode arguments. For example, in oscil.xml we could
>>> >> >> have
>>> >> >> something like this:
>>> >> >>
>>> >> >>
>>> >> >> ifn -- function table number. Requires a
>>> >> >> wrap-around guard point.
>>> >> >>
>>> >> >>
>>> >> >> etc.
>>> >> >>
>>> >> >> This is neutral for docbook as long as we don't give any
>>> >> >> signification
>>> >> >> to
>>> >> >> this role="opcarg" attribute in the xlst stylesheets. The benefit
>>> >> >> would
>>> >> >> be
>>> >> >> that we could easily extract those paragraphs without worrying if
>>> >> >> they
>>> >> >> are
>>> >> >> in an Initialize section or in a Performance section.
>>> >> >>
>>> >> >> What do you think?
>>> >> >>
>>> >> >> François
>>> >> >>
>>> >> >> 2013/5/13 Francois PINOT
>>> >> >>>
>>> >> >>> That's what I'm actually looking for in the docbook documentation.
>>> >> >>> I'll
>>> >> >>> let you know if I find something.
>>> >> >>>
>>> >> >>> Francois
>>> >> >>>
>>> >> >>>
>>> >> >>> 2013/5/13 Andres Cabrera
>>> >> >>>>
>>> >> >>>> Ideally, the manual should look like:
>>> >> >>>>
>>> >> >>>> ifnfunction table
>>> >> >>>>
>>> >> >>>> I think a script could be written to transform it into that, but
>>> >> >>>> I'm
>>> >> >>>> not
>>> >> >>>> sure there's a relevant vocabulary with docbook.
>>> >> >>>>
>>> >> >>>> Cheers,
>>> >> >>>> Andrés
>>> >> >>>>
>>> >> >>>>
>>> >> >>>> On Sat, May 11, 2013 at 1:39 AM, Rory Walsh
>>> >> >>>> wrote:
>>> >> >>>>>
>>> >> >>>>> A single line of text tokens is what I'm working with now, but I
>>> >> >>>>> can
>>> >> >>>>> go to xml just as easily. The output from Steven and Andres
>>> >> >>>>> script
>>> >> >>>>> is
>>> >> >>>>> fine, but I would like more info. Would something like this be
>>> >> >>>>> possible?
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> oscil
>>> >> >>>>> ares oscil xamp, xcps, ifn [,
>>> >> >>>>> iphs]
>>> >> >>>>> oscil reads table ifn sequentially and
>>> >> >>>>> repeatedly
>>> >> >>>>> at a frequency xcps. The amplitude is scaled by
>>> >> >>>>> xamp.
>>> >> >>>>> ifn -- function table number. Requires a
>>> >> >>>>> wrap-around
>>> >> >>>>> guard point .iphs (optional, default=0) -- initial phase of
>>> >> >>>>> sampling,
>>> >> >>>>> expressed as a fraction of a cycle (0 to 1). A negative value
>>> >> >>>>> will
>>> >> >>>>> cause phase initialization to be skipped. The default value is
>>> >> >>>>> 0.
>>> >> >>>>> kamp, xamp -- amplitude kcps, xcps --
>>> >> >>>>> frequency in
>>> >> >>>>> cycles per second.
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> I don't see a way to easily parse the performance section of the
>>> >> >>>>> help
>>> >> >>>>> files?
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>>
>>> >> >>>>> ------------------------------------------------------------------------------
>>> >> >>>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> >> >>>>> "Graph Databases" is the definitive new guide to graph databases
>>> >> >>>>> and
>>> >> >>>>> their applications. This 200-page book is written by three
>>> >> >>>>> acclaimed
>>> >> >>>>> leaders in the field. The early access version is available now.
>>> >> >>>>> Download your free book today!
>>> >> >>>>> http://p.sf.net/sfu/neotech_d2d_may
>>> >> >>>>> _______________________________________________
>>> >> >>>>> Csound-devel mailing list
>>> >> >>>>> Csound-devel@lists.sourceforge.net
>>> >> >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >> >>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>>
>>> >> >>>> ------------------------------------------------------------------------------
>>> >> >>>> Learn Graph Databases - Download FREE O'Reilly Book
>>> >> >>>> "Graph Databases" is the definitive new guide to graph databases
>>> >> >>>> and
>>> >> >>>> their applications. This 200-page book is written by three
>>> >> >>>> acclaimed
>>> >> >>>> leaders in the field. The early access version is available now.
>>> >> >>>> Download your free book today!
>>> >> >>>> http://p.sf.net/sfu/neotech_d2d_may
>>> >> >>>> _______________________________________________
>>> >> >>>> Csound-devel mailing list
>>> >> >>>> Csound-devel@lists.sourceforge.net
>>> >> >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >> >>>>
>>> >> >>>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >>
>>> >> >> ------------------------------------------------------------------------------
>>> >> >> Learn Graph Databases - Download FREE O'Reilly Book
>>> >> >> "Graph Databases" is the definitive new guide to graph databases
>>> >> >> and
>>> >> >> their applications. This 200-page book is written by three
>>> >> >> acclaimed
>>> >> >> leaders in the field. The early access version is available now.
>>> >> >> Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
>>> >> >> _______________________________________________
>>> >> >> Csound-devel mailing list
>>> >> >> Csound-devel@lists.sourceforge.net
>>> >> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >> >>
>>> >> >
>>> >> >
>>> >> >
>>> >> >
>>> >> > ------------------------------------------------------------------------------
>>> >> > AlienVault Unified Security Management (USM) platform delivers
>>> >> > complete
>>> >> > security visibility with the essential security capabilities. Easily
>>> >> > and
>>> >> > efficiently configure, manage, and operate all of your security
>>> >> > controls
>>> >> > from a single console and one unified framework. Download a free
>>> >> > trial.
>>> >> > http://p.sf.net/sfu/alienvault_d2d
>>> >> > _______________________________________________
>>> >> > Csound-devel mailing list
>>> >> > Csound-devel@lists.sourceforge.net
>>> >> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >> >
>>> >>
>>> >>
>>> >>
>>> >> ------------------------------------------------------------------------------
>>> >> AlienVault Unified Security Management (USM) platform delivers
>>> >> complete
>>> >> security visibility with the essential security capabilities. Easily
>>> >> and
>>> >> efficiently configure, manage, and operate all of your security
>>> >> controls
>>> >> from a single console and one unified framework. Download a free
>>> >> trial.
>>> >> http://p.sf.net/sfu/alienvault_d2d
>>> >> _______________________________________________
>>> >> Csound-devel mailing list
>>> >> Csound-devel@lists.sourceforge.net
>>> >> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>> >
>>> >
>>> >
>>> > ------------------------------------------------------------------------------
>>> > AlienVault Unified Security Management (USM) platform delivers complete
>>> > security visibility with the essential security capabilities. Easily
>>> > and
>>> > efficiently configure, manage, and operate all of your security
>>> > controls
>>> > from a single console and one unified framework. Download a free trial.
>>> > http://p.sf.net/sfu/alienvault_d2d
>>> > _______________________________________________
>>> > Csound-devel mailing list
>>> > Csound-devel@lists.sourceforge.net
>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>> >
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> AlienVault Unified Security Management (USM) platform delivers complete
>>> security visibility with the essential security capabilities. Easily and
>>> efficiently configure, manage, and operate all of your security controls
>>> from a single console and one unified framework. Download a free trial.
>>> http://p.sf.net/sfu/alienvault_d2d
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> AlienVault Unified Security Management (USM) platform delivers complete
>> security visibility with the essential security capabilities. Easily and
>> efficiently configure, manage, and operate all of your security controls
>> from a single console and one unified framework. Download a free trial.
>> http://p.sf.net/sfu/alienvault_d2d
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
> ------------------------------------------------------------------------------
> AlienVault Unified Security Management (USM) platform delivers complete
> security visibility with the essential security capabilities. Easily and
> efficiently configure, manage, and operate all of your security controls
> from a single console and one unified framework. Download a free trial.
> http://p.sf.net/sfu/alienvault_d2d
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |