aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-05-07 16:27:18 +0200
committerThomas White <taw@physics.org>2019-05-07 16:27:18 +0200
commit6b81df8c6f9621bde69ae506dc8b43374193635c (patch)
treea271f6c513a118f4fd9b334068d669a81122446c /doc
parent60de420bfe47d5b33279ff959d5f82fdd530c306 (diff)
parent266ad1b2d4e9a11eee38813f93557ecb994e58d9 (diff)
Merge branch 'tom/doxygen'
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/libcrystfel/CrystFEL-docs.sgml136
-rw-r--r--doc/reference/libcrystfel/CrystFEL-sections.txt619
-rwxr-xr-xdoc/reference/libcrystfel/build-docs14
-rw-r--r--doc/reference/libcrystfel/xml/coding-standards.xml157
-rw-r--r--doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in8
5 files changed, 0 insertions, 934 deletions
diff --git a/doc/reference/libcrystfel/CrystFEL-docs.sgml b/doc/reference/libcrystfel/CrystFEL-docs.sgml
deleted file mode 100644
index 150fadf9..00000000
--- a/doc/reference/libcrystfel/CrystFEL-docs.sgml
+++ /dev/null
@@ -1,136 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
- "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
-[
- <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
-]>
-<book id="index">
- <bookinfo>
- <title>CrystFEL Reference Manual</title>
- <releaseinfo>
- For libcrystfel from CrystFEL 0.8.0.
- </releaseinfo>
- <abstract>
- This is the internal documentation for CrystFEL. Unless you are looking at
- the code, writing new programs or fixing bugs, you should not need to read
- this. You might use the information here when reading the code or to better
- understand how the software works, or refer to it when creating a new
- program within the suite.
- </abstract>
- </bookinfo>
-
- <chapter>
- <title>Images</title>
- <xi:include href="xml/image.xml"/>
- </chapter>
-
- <chapter>
- <title>Handling reflection data</title>
- <abstract>There are three main reflection list thingies.</abstract>
- <xi:include href="xml/reflist.xml"/>
- <xi:include href="xml/reflist-utils.xml"/>
- </chapter>
-
- <chapter>
- <title>Unit cells</title>
- <xi:include href="xml/cell.xml"/>
- <xi:include href="xml/cell-utils.xml"/>
- </chapter>
-
- <chapter>
- <title>Crystals</title>
- <xi:include href="xml/crystal.xml"/>
- </chapter>
-
- <chapter>
- <title>Events</title>
- <xi:include href="xml/events.xml"/>
- </chapter>
-
- <chapter>
- <title>Geometry of diffraction</title>
- <xi:include href="xml/geometry.xml"/>
- </chapter>
-
- <chapter>
- <title>Peaks</title>
- <xi:include href="xml/peaks.xml"/>
- </chapter>
-
- <chapter>
- <title>Image filters</title>
- <xi:include href="xml/filters.xml"/>
- </chapter>
-
- <chapter>
- <title>Statistics and R-factors</title>
- <xi:include href="xml/statistics.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Symmetry</title>
- <xi:include href="xml/symmetry.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Integer Matrices</title>
- <xi:include href="xml/integer_matrix.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Indexing</title>
- <xi:include href="xml/index.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Prediction refinement</title>
- <xi:include href="xml/predict-refine.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Integration</title>
- <xi:include href="xml/integration.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Detector</title>
- <xi:include href="xml/detector.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>HDF5</title>
- <xi:include href="xml/hdf5-file.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Stream</title>
- <xi:include href="xml/stream.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Render</title>
- <xi:include href="xml/render.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Parallel programming</title>
- <xi:include href="xml/thread-pool.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <chapter>
- <title>Miscellaneous</title>
- <xi:include href="xml/histogram.xml"/>
- <xi:include href="xml/utils.xml"/>
- </chapter>
-
- <chapter>
- <title>Information for developers</title>
- <xi:include href="xml/coding-standards.xml"><xi:fallback /></xi:include>
- </chapter>
-
- <index id="api-index-full">
- <title>API Index</title>
- <xi:include href="xml/api-index-full.xml"><xi:fallback /></xi:include>
- </index>
-
-</book>
diff --git a/doc/reference/libcrystfel/CrystFEL-sections.txt b/doc/reference/libcrystfel/CrystFEL-sections.txt
deleted file mode 100644
index 4a436e34..00000000
--- a/doc/reference/libcrystfel/CrystFEL-sections.txt
+++ /dev/null
@@ -1,619 +0,0 @@
-<SECTION>
-<FILE>reflist</FILE>
-RefList
-Reflection
-RefListIterator
-<SUBSECTION>
-reflist_new
-reflist_free
-reflection_new
-reflection_free
-reflist_add_notes
-reflist_get_notes
-<SUBSECTION>
-add_refl
-add_refl_to_list
-<SUBSECTION>
-first_refl
-first_refl_const
-next_refl
-next_refl_const
-<SUBSECTION>
-find_refl
-next_found_refl
-<SUBSECTION>
-get_detector_pos
-get_panel
-get_partiality
-get_lorentz
-get_indices
-get_symmetric_indices
-get_intensity
-get_redundancy
-get_esd_intensity
-get_phase
-get_mean_bg
-get_peak
-get_temp1
-get_temp2
-get_flag
-get_exerr
-get_khalf
-get_kpred
-<SUBSECTION>
-set_detector_pos
-set_panel
-set_partiality
-set_lorentz
-set_intensity
-set_redundancy
-set_esd_intensity
-set_phase
-set_mean_bg
-set_peak
-set_symmetric_indices
-set_temp1
-set_temp2
-set_flag
-set_exerr
-set_khalf
-set_kpred
-<SUBSECTION>
-copy_data
-num_reflections
-tree_depth
-lock_reflection
-unlock_reflection
-GET_H
-GET_K
-GET_L
-SERIAL
-</SECTION>
-
-<SECTION>
-<FILE>reflist-utils</FILE>
-write_reflist
-write_reflist_2
-read_reflections
-read_reflections_2
-asymmetric_indices
-res_cutoff
-check_list_symmetry
-copy_reflist
-find_equiv_in_list
-resolution_limits
-max_intensity
-reflist_add_command_and_version
-</SECTION>
-
-<SECTION>
-<FILE>unitcell</FILE>
-UnitCell
-LatticeType
-UnitCellTransformation
-rvec
-<SUBSECTION>
-cell_new
-cell_new_from_cell
-cell_new_from_direct_axes
-cell_new_from_parameters
-cell_new_from_reciprocal_axes
-cell_free
-<SUBSECTION>
-cell_get_cartesian
-cell_get_parameters
-cell_get_reciprocal
-cell_get_centering
-cell_get_lattice_type
-cell_get_unique_axis
-cell_has_parameters
-<SUBSECTION>
-cell_set_cartesian
-cell_set_parameters
-cell_set_reciprocal
-cell_set_centering
-cell_set_lattice_type
-cell_set_unique_axis
-<SUBSECTION>
-cell_transform
-cell_transform_inverse
-tfn_combine
-tfn_identity
-tfn_from_intmat
-tfn_inverse
-tfn_print
-tfn_vector
-tfn_free
-<SUBSECTION>
-
-cell_rep
-</SECTION>
-
-<SECTION>
-<FILE>cell-utils</FILE>
-cell_rotate
-rotate_cell
-cell_print
-resolution
-match_cell
-compare_cells
-match_cell_ab
-cell_is_sensible
-validate_cell
-uncenter_cell
-bravais_lattice
-right_handed
-str_lattice
-forbidden_reflection
-load_cell_from_pdb
-load_cell_from_file
-write_cell
-lattice_from_str
-cell_get_volume
-transform_cell_gsl
-</SECTION>
-
-<SECTION>
-<FILE>utils</FILE>
-show_matrix_eqn
-solve_svd
-AssplodeFlag
-C_VACUO
-ELECTRON_CHARGE
-PLANCK
-THOMSON_LENGTH
-assplode
-chomp
-gaussian_noise
-progress_bar
-poisson_noise
-notrail
-random_flat
-flat_noise
-show_matrix
-STATUS
-ERROR
-J_to_eV
-eV_to_J
-biggest
-smallest
-check_prefix
-safe_basename
-deg2rad
-rad2deg
-is_odd
-ph_en_to_lambda
-ph_lambda_to_en
-ph_eV_to_lambda
-ph_lambda_to_eV
-likely
-unlikely
-UNUSED
-</SECTION>
-
-<SECTION>
-<FILE>quaternion</FILE>
-quaternion
-<SUBSECTION>
-quaternion_modulus
-normalise_quaternion
-random_quaternion
-quaternion_valid
-quat_rot
-</SECTION>
-
-<SECTION>
-<FILE>histogram</FILE>
-Histogram
-histogram_init
-histogram_free
-histogram_add_value
-histogram_show
-histogram_get_data
-histogram_get_max
-histogram_get_min
-histogram_get_num_bins
-histogram_set_max
-histogram_set_min
-histogram_set_num_bins
-</SECTION>
-
-<SECTION>
-<FILE>image</FILE>
-image
-beam_params
-imagefeature
-ImageFeatureList
-SpectrumType
-sample
-<SUBSECTION>
-imagefile
-imagefile_close
-imagefile_copy_fields
-imagefile_field_list
-imagefile_get_hdfile
-imagefile_get_type
-imagefile_open
-imagefile_read
-imagefile_read_simple
-is_cbf_file
-<SUBSECTION>
-new_imagefile_field_list
-add_imagefile_field
-free_imagefile_field_list
-<SUBSECTION>
-image_add_feature
-image_feature_closest
-image_reflection_closest
-image_feature_count
-image_feature_list_free
-image_feature_list_new
-image_get_feature
-image_add_crystal
-image_remove_feature
-free_all_crystals
-remove_flagged_crystals
-</SECTION>
-
-<SECTION>
-<FILE>thread-pool</FILE>
-TPGetTaskFunc
-TPWorkFunc
-TPFinalFunc
-<SUBSECTION>
-run_threads
-stderr_lock
-get_status_label
-</SECTION>
-
-<SECTION>
-<FILE>statistics</FILE>
-stat_pearson_f_ignore
-stat_pearson_f_zero
-stat_pearson_i
-stat_r1_i
-stat_r1_ignore
-stat_r1_zero
-stat_r2
-stat_rdiff_ignore
-stat_rdiff_intensity
-stat_rdiff_zero
-stat_scale_intensity
-</SECTION>
-
-<SECTION>
-<FILE>indexing</FILE>
-IndexingMethod
-IndexingPrivate
-IndexingFlags
-INDEXING_DEFAULTS_DIRAX
-INDEXING_DEFAULTS_MOSFLM
-INDEXING_DEFAULTS_XDS
-INDEXING_DEFAULTS_ASDF
-INDEXING_DEFAULTS_FELIX
-INDEXING_DEFAULTS_TAKETWO
-INDEXING_METHOD_MASK
-detect_indexing_methods
-setup_indexing
-cleanup_indexing
-get_indm_from_string
-get_indm_from_string_2
-index_pattern
-index_pattern_2
-indexer_str
-dirax_probe
-dirax_prepare
-run_dirax
-dirax_cleanup
-mosflm_probe
-mosflm_prepare
-run_mosflm
-mosflm_cleanup
-xds_probe
-xds_prepare
-run_xds
-xds_cleanup
-asdf_probe
-asdf_prepare
-run_asdf
-asdf_cleanup
-felix_options
-felix_probe
-felix_prepare
-felix_index
-felix_cleanup
-taketwo_options
-taketwo_probe
-taketwo_prepare
-taketwo_index
-taketwo_cleanup
-</SECTION>
-
-<SECTION>
-<FILE>symmetry</FILE>
-SymOpList
-SymOpMask
-<SUBSECTION>
-free_symoplist
-num_equivs
-get_pointgroup
-parse_symmetry_operations
-add_symop
-get_equiv
-get_symop
-special_position
-get_asymm
-get_ambiguities
-is_subgroup
-<SUBSECTION>
-new_symopmask
-free_symopmask
-<SUBSECTION>
-describe_symmetry
-symmetry_name
-set_symmetry_name
-get_matrix_name
-pointgroup_warning
-is_centrosymmetric
-is_centric
-</SECTION>
-
-<SECTION>
-<FILE>integer_matrix</FILE>
-IntegerMatrix
-<SUBSECTION>
-intmat_new
-intmat_copy
-intmat_identity
-intmat_free
-<SUBSECTION>
-intmat_get
-intmat_set
-<SUBSECTION>
-intmat_intmat_mult
-intmat_intvec_mult
-intmat_det
-intmat_inverse
-<SUBSECTION>
-intmat_equals
-intmat_is_identity
-intmat_is_inversion
-<SUBSECTION>
-intmat_print
-</SECTION>
-
-<SECTION>
-<FILE>detector</FILE>
-detector
-panel
-badregion
-rigid_group
-rg_collection
-<SUBSECTION>
-copy_geom
-fill_in_adu
-free_detector_geometry
-get_detector_geometry
-get_detector_geometry_2
-write_detector_geometry
-write_detector_geometry_2
-panel_number
-find_panel_by_name
-simple_geometry
-record_image
-get_pixel_extents
-get_q_for_panel
-get_tt
-smallest_q
-reverse_2d_mapping
-largest_q
-in_bad_region
-mark_resolution_range_as_bad
-find_orig_panel
-find_orig_panel_number
-panel_is_in_rigid_group
-rigid_group_is_in_collection
-single_panel_data_source
-find_rigid_group_collection_by_name
-detector_has_clen_references
-adjust_centering_for_rail
-</SECTION>
-
-<SECTION>
-<FILE>events</FILE>
-event
-event_list
-dim_structure
-filename_plus_event
-<SUBSECTION>
-initialize_event
-push_path_entry_to_event
-pop_path_entry_from_event
-push_dim_entry_to_event
-pop_dim_entry_from_event
-copy_event
-free_event
-find_event
-get_event_string
-get_event_from_event_string
-event_path_placeholder_subst
-retrieve_full_path
-initialize_filename_plus_event
-free_filename_plus_event
-initialize_event_list
-append_event_to_event_list
-add_non_existing_event_to_event_list
-copy_event_list
-free_event_list
-initialize_dim_structure
-default_dim_structure
-set_dim_structure_entry
-free_dim_structure_entry
-free_dim_structure
-</SECTION>
-
-<SECTION>
-<FILE>crystal</FILE>
-</SECTION>
-
-<SECTION>
-<FILE>hdf5-file</FILE>
-hdf5_read
-hdf5_read2
-hdf5_write
-hdf5_write_image
-hdfile
-hdfile_close
-hdfile_get_image_binned
-hdfile_get_string_value
-hdfile_open
-hdfile_read_group
-hdfile_set_first_image
-hdfile_set_image
-hdfile_get_value
-copy_hdf5_field
-copy_hdf5_fields
-add_copy_hdf5_field
-new_copy_hdf5_field_list
-free_copy_hdf5_field_list
-get_peaks
-get_peaks_2
-get_peaks_cxi
-get_peaks_cxi_2
-hdfile_is_scalar
-check_path_existence
-fill_event_list
-</SECTION>
-
-<SECTION>
-<FILE>crystal</FILE>
-Crystal
-crystal_new
-crystal_copy
-crystal_free
-<SUBSECTION>
-crystal_get_cell
-crystal_get_cell_const
-crystal_get_image
-crystal_get_mosaicity
-crystal_get_num_saturated_reflections
-crystal_get_osf
-crystal_get_Bfac
-crystal_get_profile_radius
-crystal_get_reflections
-crystal_get_resolution_limit
-crystal_get_user_flag
-crystal_get_num_implausible_reflections
-crystal_get_notes
-crystal_get_det_shift
-crystal_set_cell
-crystal_set_image
-crystal_set_mosaicity
-crystal_set_num_saturated_reflections
-crystal_set_osf
-crystal_set_Bfac
-crystal_set_profile_radius
-crystal_set_reflections
-crystal_set_resolution_limit
-crystal_set_user_flag
-crystal_set_num_implausible_reflections
-crystal_set_notes
-crystal_add_notes
-crystal_set_det_shift
-</SECTION>
-
-<SECTION>
-<FILE>geometry</FILE>
-PartialityModel
-gparam
-predict_to_res
-update_predictions
-calculate_partialities
-polarisation_correction
-sphere_fraction
-gaussian_fraction
-r_gradient
-x_gradient
-y_gradient
-</SECTION>
-
-<SECTION>
-<FILE>peaks</FILE>
-peak_sanity_check
-search_peaks
-search_peaks_peakfinder8
-make_BgMask
-peakfinder8
-validate_peaks
-sort_peaks
-</SECTION>
-
-<SECTION>
-<FILE>render</FILE>
-render_scale
-</SECTION>
-
-<SECTION>
-<FILE>filter</FILE>
-filter_cm
-filter_noise
-filter_median
-</SECTION>
-
-<SECTION>
-<FILE>integration</FILE>
-INTEGRATION_DEFAULTS_PROF2D
-INTEGRATION_DEFAULTS_RINGS
-INTEGRATION_METHOD_MASK
-IntegrationMethod
-IntDiag
-integrate_all
-integrate_all_2
-integrate_all_3
-integrate_all_4
-integrate_all_5
-integration_method
-</SECTION>
-
-<SECTION>
-<FILE>stream</FILE>
-Stream
-StreamReadFlags
-CHUNK_START_MARKER
-CHUNK_END_MARKER
-CRYSTAL_START_MARKER
-CRYSTAL_END_MARKER
-PEAK_LIST_START_MARKER
-PEAK_LIST_END_MARKER
-REFLECTION_START_MARKER
-REFLECTION_END_MARKER
-GEOM_START_MARKER
-GEOM_END_MARKER
-CELL_START_MARKER
-CELL_END_MARKER
-open_stream_fd_for_write
-open_stream_for_read
-open_stream_for_write
-open_stream_for_write_2
-open_stream_for_write_3
-open_stream_for_write_4
-get_stream_fd
-close_stream
-read_chunk
-read_chunk_2
-write_chunk
-write_chunk_2
-rewind_stream
-is_stream
-write_command
-write_geometry_file
-stuff_from_stream
-stream_audit_info
-stream_has_old_indexers
-</SECTION>
-
-<SECTION>
-<FILE>predict-refine</FILE>
-refine_prediction
-refine_radius
-</SECTION>
diff --git a/doc/reference/libcrystfel/build-docs b/doc/reference/libcrystfel/build-docs
deleted file mode 100755
index adb2137a..00000000
--- a/doc/reference/libcrystfel/build-docs
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/bin/sh
-
-set -x
-DOC_MODULE=CrystFEL
-
-mkdir docs
-cd docs
-gtkdoc-scan --module=${DOC_MODULE} ../../libcrystfel/src/*.h
-gtkdoc-mkdb --module=${DOC_MODULE} --output-format=xml --source-dir=../../libcrystfel/src
-mkdir html
-cd html
-gtkdoc-mkhtml ${DOC_MODULE} ../CrystFEL-docs.sgml
-cd ..
-gtkdoc-fixxref --module=${DOC_MODULE} --module-dir=html
diff --git a/doc/reference/libcrystfel/xml/coding-standards.xml b/doc/reference/libcrystfel/xml/coding-standards.xml
deleted file mode 100644
index d51ba293..00000000
--- a/doc/reference/libcrystfel/xml/coding-standards.xml
+++ /dev/null
@@ -1,157 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
- "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd"
-[
- <!ENTITY % local.common.attrib "xmlns:xi CDATA #FIXED 'http://www.w3.org/2003/XInclude'">
-]>
-<refentry id="CrystFEL-coding-standards">
-<refmeta>
-<refentrytitle role="top_of_page" id="CrystFEL-coding-standards.top_of_page">CrystFEL coding standards</refentrytitle>
-<manvolnum>3</manvolnum>
-<refmiscinfo>
- Coding standards
-</refmiscinfo>
-</refmeta>
-<refnamediv></refnamediv>
-
-
-<refsect1 id="CrystFEL-coding-standards.description" role="desc">
-<title role="desc.title">Summary</title>
-<para>
-This page documents the coding conventions used within the CrystFEL source code. Read these to help when reading the code or before making modifications destined to be sent upstream.
-</para>
-</refsect1>
-
-
-<refsect1 id="CrystFEL-coding-standards.license">
-<title>Licensing and copyright</title>
-<para>
-CrystFEL is distributed under the terms of the GNU General Public License version 3 or higher. Contributions are very welcome provided they also use this license.
-</para>
-<para>
-Whenever you edit a source file, don't forget to update the copyright dates at the top. Add your name and email address if they're not there already. Be sure to add your name to the 'AUTHORS' file in the top level folder, as well.
-</para>
-</refsect1>
-
-
-<refsect1 id="CrystFEL-coding-standards.formatting">
-<title>Formatting</title>
-<para>
-<emphasis>Indentation</emphasis> is done with <emphasis>tabs</emphasis> and
-<emphasis>alignment</emphasis> is done with spaces. This way, the code looks
-neat whatever width you configure your editor to display tabs as. This means,
-for example:
-</para>
-<para>
-<programlisting>
-struct something
-{
- int thing; /* &lt;--- spaces used to align comments */
- int thing_with_longer_name; /* &lt;--- spaces used to align comments */
-}
-
-void somefunction(int something)
-{
- /* &lt;--- Tab character used at the start of this line */
-}
-</programlisting>
-</para>
-<para>
-However, code must be <emphasis>strictly</emphasis> wrapped at 80 columns, or
-what would be 80 columns if the tabs were displayed as 8 spaces.
-If you think you need more width, you're at too many levels of indentation and
-need to break things down a bit. There are no exceptions whatsoever.
-</para>
-<para>
-When performing a two or three dimensional iteration, for example over image
-coordinates or Miller indices, it is acceptable to indent as follows:
-</para>
-<para>
-<programlisting>
-for ( h=-10; h&lt;+10; h++ ) {
-for ( k=-10; k&lt;+10; k++ ) {
-for ( l=-10; l&lt;+10; l++ ) {
-
- /* Do stuff */
-
-}
-}
-}
-</programlisting>
-</para>
-</refsect1>
-
-
-<refsect1 id="CrystFEL-coding-standards.brackets">
-<title>Brackets and so on</title>
-<para>
-Brackets and so on should go like this:
-</para>
-<para>
-<programlisting>
-/* Multiple line comments have stars
- * down one side */
-void somefunction(int someparam)
-{
- /* Single line comments use this style (not //) */
- if ( a &lt; b ) {
- /* 'if' statements usually have the opening brace on the same
- * line as the condition. */
- } else {
- /* 'else's are 'cuddled' */
- }
-
- if ( some &amp;&amp; very &amp;&amp; long &amp;&amp; condition &amp;&amp; that &amp;&amp; spans
- &amp;&amp; two &amp;&amp; lines )
- {
- /* Opening brace is on a line by itself in the case of a very
- * long condition */
- }
-}
-
-/* Comments use proper capitalisation to make things look neat */
-</programlisting>
-</para>
-<para>'struct' blocks can have the braces like functions or 'if' statements. Usually the former looks nicer if the struct is large.</para>
-<para>Parentheses should have spaces after them in 'if' statements, but not in function calls. Function arguments should have spaces after the comma. There should be no space between the function name and the opening bracket. That means:</para>
-<para><programlisting>
-if ( something ) {
- do_something(a, b, c);
-}
-</programlisting></para>
-<para>instead of:</para>
-<para><programlisting>
-if (something) {
- do_something (a,b,c);
-}
-</programlisting></para>
-</refsect1>
-
-
-<refsect1 id="CrystFEL-coding-standards.cleverness">
-<title>Cleverness</title>
-<para>
-Yes, we all know you can insert a new node into an RB-tree while simultaneously
-calculating Pi to 150 decimal places in one line of code. You don't need to
-prove it here. As a general rule, if you think you're about to do something clever, <emphasis>don't do it at all</emphasis>.
-</para>
-</refsect1>
-
-
-<refsect1 id="CrystFEL-coding-standards.commitmessages">
-<title>VCS commit messages</title>
-<para>The first line of your commit message should include a one line summary of the changes, in the form "Do XYZ". That is, not "Did XYZ".</para>
-<para>Make the minimum possible changes in each commit. Try to really distill your changes down to the bare bones, and keep 'cleaning up' in separate commits. Remember that Git thinks about 'changes' rather than 'versions'.</para>
-</refsect1>
-
-
-<refsect1 id="CrystFEL-coding-standards.evilness">
-<title>Evil dictator</title>
-<para>
-Despite your following all of the above, I will probably still touch up your
-code in some places while (or shortly after) integrating it into mainline
-CrystFEL. Please try not to take it personally.
-</para>
-</refsect1>
-
-</refentry>
diff --git a/doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in b/doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in
deleted file mode 100644
index 3fd9b080..00000000
--- a/doc/reference/libcrystfel/xml/gtkdocentities.ent.cmake.in
+++ /dev/null
@@ -1,8 +0,0 @@
-<!ENTITY package "libcrystfel">
-<!ENTITY package_bugreport "taw@physics.org">
-<!ENTITY package_name "libcrystfel">
-<!ENTITY package_string "crystfel ${PROJECT_VERSION}+${GIT_SHA1}">
-<!ENTITY package_tarname "libcrystfel">
-<!ENTITY package_url "https://www.desy.de/~twhite/crystfel">
-<!ENTITY package_version "${PROJECT_VERSION}+${GIT_SHA1}">
-